t2:remapper_disable

remapper_disable


remapper_disable — Disable controller input

Description


bool remapper_disable(<IO_IDENTIFIER>);

Disable the controller input specified by I/O Identifier on the current mapping layout. The controller input will remain disabled until the memory slot is unloaded or remapper_reset() is called.

Parameters


  • <IO_IDENTIFIER>: The I/O Identifier to be disabled.

Return Value


Returns true if the operation succeed, or FALSE if fails.

remapper_disable() will fail if there is an Input Translator with Controller Remapper already loaded by the user.

Examples


Example #1 remapper_disable() example

init {
    remapper_disable(BUTTON_1);
    remapper_disable(STICK_1_X);
}

See Also

t2/remapper_disable.txt · Last modified: 2018/03/08 08:46 by J2Kbr