GPC Developer Guides

Remapping

remappings are defined at the beginning of a script and must be done before the main procedure they cannot be executed during run time command name description remap assigns the value of the controller input to the output unmap disconnects an input from the output report remap remap assigns the value of the input identifier to the output identifier gpc remap ps4 cross > ps4 square; 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 🔴 syntax remap \<source> > \<target>; ⚪ parameters \<source> the source identifier meaning the input \<target> the target identifier meaning the output 🔵 returns nothing unmap 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 gpc unmap ps4 triangle; // unmaps the ps4 triangle button from being sent to the console unmap all remaps; // unmaps all controller identifiers which have been remapped 🔴 syntax unmap \<target>; ⚪ parameters \<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 🔵 returns nothing