pub unsafe extern "C" fn QTMS_SetCenterBarrierPosition(
position: f32,
) -> ResultExpand description
Sets the neutral (center) barrier position/offset in calibration, without saving it to cfg.
Takes effect immediately. SS3D works by calculating the position of the eye midpoint, rotated
by the ideal eye-to-camera angle, expressed in (iod/12 units, iod assumed to be 62mm).
§Arguments
position- Center barrier position, in terms of iod/12 units modulo iod/12.
Note: This field is floating-point for QTM auto-adjustment purposes, however the actual barrier position in hardware is an integer. Note: This is the field that System Settings lets you add -1.0 to +1.0 to. Note: There is no “get” counterpart for this.
§Returns
0xC8A18009 if QTM is unavailable (in particular, QTM is always unavailable on N2DSXL), otherwise
0 (success).