Remappings are defined at the beginning of a script and must be done before the main procedure. They cannot be executed during run time.
remap assigns the value of the input identifier to the output identifier
remap PS4_CROSS -> PS4_SQUARE;
remap < input_identifier > -> < output_identifier >;
<input_identifier> : any defined variable. <output_identifer> : index point of the bit to be set with a range of 0 to 15.
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.
unmap PS4_TRIANGLE; // unmaps the PS4_TRIANGLE identifier;unmap ALL_REMAPS; // unmaps all controller identifiers which have been remapped;
<output_identifier> : any defined variable.