Examples of macrosExample 1: Macro with button control assignmentsLet's make a macro out of the following button assignment (S1 is a button label):
Take the keystroke sequence on the right side of the SENDS assignment, give it a label, and put it in the [MACROS] section of the script file. Using the game action as a guide, we create (don't forget the period at the end):
Now replace the original assignment with the label to finish the process:
Example 2: Macros for button control re-mapping to a DirectInput buttonHere, the following statement remaps button S5 to be the joystick trigger in DirectInput:
Tthe macro in the [MACROS] section can be:
The re-mapping in the [CONFIG] section then is:
![]() |