Function QTMS_SetBarrierPosition

Source
pub unsafe extern "C" fn QTMS_SetBarrierPosition(
    position: u8_,
) -> Result
Expand description

Temporarily sets the parallax barrier’s position (offset in iod/12 units, assuming slit width of 6 units). Does nothing in 2D mode and/or if “super stable 3D” is disabled.

§Arguments

  • position - Parallax barrier position (offset in units), must be between 0 and 11 (both included)

§Returns

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

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 does nothing. Note: No effect when the screen is in 2D mode. QTMC_SetBarrierPattern