Function QTMS_GetCurrentBarrierPosition

Source
pub unsafe extern "C" fn QTMS_GetCurrentBarrierPosition(
    outPosition: *mut u8_,
) -> Result
Expand description

Gets the current position of the parallax barrier (offset in iod/12 units, slit width of 6 units). When “super stable 3D” is disabled, returns 13 instead.

§Arguments

  • outPosition (direction out) - Where to write the barrier’s position to.

§Returns

0xC8A18009 if QTM is unavailable (in particular, QTM is always unavailable on N2DSXL), otherwise 0 (success).

Note: When SS3D is disabled, this returns 13 to outPosition . When in 2D mode, the returned position is not updated. Note: Due to an oversight, QTMS_SetQtmStatus allows changing QTM state on N2DSXL. This is not intended to be done, and is in fact never done by official software. If that is regardless the case, this function here returns 13 to outPosition . QTMC_SetBarrierPattern