Function QTMS_SetIrLedStatusOverride

Source
pub unsafe extern "C" fn QTMS_SetIrLedStatusOverride(
    on: bool,
) -> Result
Expand description

Temporarily overrides IR LED state. Requires “manual control” from qtm:u to be disabled, and has lower priority than it.

§Arguments

  • on - Whether to turn the IR LED on or off.

§Returns

0xC8A18005 if manual control was enabled or if the operation failed, 0xC8A18008 if camera is in use by user (unless “hardware check” API enabled), or 0xC8A18009 if QTM is unavailable (in particular, QTM is always unavailable on N2DSXL). Otherwise, 0 (success).