Remappings are defined at the beginning of a script and must be done before the main procedure. They cannot be executed during run time.
Assigns the value of the controller input to the output.
Disconnects an input from the output report.
remap assigns the value of the input identifier to the output identifier
Info: Although you define remaps at the beginning of a script, the Virtual Machine does not execute the remaps until the main has finished the current iteration. This means that any scripting operations on the remapped entries for inputs should be programmed for the original buttons and without considering the remapped item.
<source> : The source identifier meaning the input <target> : The target identifier meaning the output
unmap disconnects an input from the output report. This means that although the Virtual Machine can still see the value of the button/axis on the input report, it will not pass its value onto the console in the output report. You can therefore still use an unmapped button to run code or start combos in your GPC script without worrying about its original function being sent to the console.
<target> : The target identifier meaning the output, if the constant ALL_REMAPS is used here it resets all remaps in the script back to their original setting.