Macros Settings (Gamepad) | pXilok Trainers

Macros Settings (Gamepad)

pXilok

Owner

3.png


Press the button
BUTTON(name_button,ON)
Unpress the button
BUTTON(name_button,OFF)
Press and unpress the button
BUTTON(name_button)
Where "name_button" one of: UP,DOWN,LEFT,RIGHT,START,BACK,LTHUMB,RTHUMB,LSHOULDER,RSHOULDER,A,B,X,Y
Example: BUTTON(A, ON) DELAY(100) BUTTON(A, OFF) DELAY(100) BUTTON(B)

Press the trigger
TRIGGER(trigger_name,ON)
Unpress trigger
TRIGGER(trigger_name,OFF)
Press and unpress the trigger
TRIGGER(trigger_name)
Where "trigger_name" is one of: LEFT, RIGHT
Example: TRIGGER(LEFT, ON) DELAY(100) TRIGGER(LEFT, OFF) DELAY(100) TRIGGER(RIGHT)

Press the joystick
THUMB(name_and_direction,value)
Where "name_and_direction" from one: LX,LY-left joystick X and Y respectively, RX,RY-for the right stick
"value": from -32768 to 32767
To return to the original position to specify the value 0
Example: THUMB(LX, -32768) DELAY(100) THUMB(LX, 0)

Delay
DELAY(number_milliseconds)

To set the button to start the sequence, you need to write at the beginning of the macro:
IF condition: commands
After commands, the macro will return again in anticipation of a button to run until the cheat of active
Where "condition": one of the above commands except DELAY and not used the keys ON and OFF.
Example: IF BUTTON(A): BUTTON(B)

Ready-made macros:
Low Driven Finesse Shot



INI:
IF BUTTON(BACK): DELAY(50) BUTTON(RSHOULDER, ON) DELAY(50) BUTTON(B, ON) DELAY(200) BUTTON(B, OFF) DELAY(50) BUTTON(RSHOULDER, OFF) DELAY(50) BUTTON(LSHOULDER, ON) DELAY(50) BUTTON(LSHOULDER, OFF)
 
Last edited:

pXilok

Owner

Strong Kick Penalty With a Green Timing
INI:
Gamepadmacros=IF BUTTON(BACK):    BUTTON(B, ON)    DELAY(515)    BUTTON(B, OFF)    DELAY(1951)    BUTTON(B, ON)    DELAY(135)    BUTTON(B, OFF)
 
Top Bottom