Game controller codes, driven from SDL.
A |
|
B |
|
BUTTONS_MAX |
|
DpadEast |
|
DpadNorth |
|
DpadSouth |
|
DpadWest |
|
Guide |
The big button in the middle of a gamepad, usually with the logo on it |
LeftJoystickButton |
The button when you press down on the stick |
LeftTrigger |
Also known as LT, or L2 |
Misc1 |
This is a button that doesn't have a specific name, like the share button on some controllers |
None |
|
Paddle1 |
Extra button on the back of some gamepads, like the Xbox Elite |
Paddle2 |
Extra button on the back of some gamepads, like the Xbox Elite |
Paddle3 |
Extra button on the back of some gamepads, like the Xbox Elite |
Paddle4 |
Extra button on the back of some gamepads, like the Xbox Elite |
RightJoystickButton |
The button when you press down on the stick |
RightTrigger |
Also known as RT, or R2 |
SwitchLeftBumper |
Also known as the left bumper, or LB, or L1 |
SwitchLeftMenu |
Normally the small button on the left side of a gamepad |
SwitchRightBumper |
Also known as the right bumper, or RB, or R1 |
SwitchRightMenu |
This is automatically used as the escape key in all games |
Touchpad |
|
X |
|
Y |
|