Logo

🎮 Gamepad Commands

Gamepad Controls

Supported Buttons

Button NameAliasesDescription
ASOUTHPrimary action button
BEASTSecondary action button
C-Tertiary action button
XNORTHAuxiliary button 1
YWESTAuxiliary button 2
Z-Auxiliary button 3
TL-Top left shoulder button
TR-Top right shoulder button
TL2-Left trigger (analog)
TR2-Right trigger (analog)
SELECT-Select/back button
START-Start/menu button
MODE-Home/guide button
THUMBL-Left thumbstick click
THUMBR-Right thumbstick click

D-Pad (Hat) Positions

PositionDescription
CENTERNeutral position
UPUp direction
UP_RIGHTUp-right diagonal
RIGHTRight direction
DOWN_RIGHTDown-right diagonal
DOWNDown direction
DOWN_LEFTDown-left diagonal
LEFTLeft direction
UP_LEFTUp-left diagonal

Basic Controls

Description: Presses and holds a gamepad button.

Syntax:

pressButton '<button>'

Example:

pressButton 'A'
pressButton 'TL'

Advanced Controls

Description: Sets left analog stick position (-127 to 127).

Syntax:

leftStick <x> <y>

Example:

leftStick 100 0    // Full right
leftStick 0 -100   // Full up
leftStick 0 0      // Center

Special Functions

Description: Rapidly taps a button multiple times.

Syntax:

rapidFire '<button>' <times> <intervalMs>

Example:

rapidFire 'A' 10 100  // Press A 10 times with 100ms intervals

On this page