enum
GamepadCode
public sealed enum GamepadCode : Enum Game controller codes, driven from SDL.
Enum Values
| Name | Value | Description |
|---|---|---|
None | | |
A | | |
B | | |
X | | |
Y | | |
SwitchLeftMenu | | Normally the small button on the left side of a gamepad |
Guide | | The big button in the middle of a gamepad, usually with the logo on it |
SwitchRightMenu | | This is automatically used as the escape key in all games |
LeftJoystickButton | | The button when you press down on the stick |
RightJoystickButton | | The button when you press down on the stick |
SwitchLeftBumper | | Also known as the left bumper, or LB, or L1 |
SwitchRightBumper | | Also known as the right bumper, or RB, or R1 |
DpadNorth | | |
DpadSouth | | |
DpadWest | | |
DpadEast | | |
Misc1 | | This is a button that doesn't have a specific name, like the share button on some controllers |
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 |
Touchpad | | |
BUTTONS_MAX | | |
LeftTrigger | | Also known as LT, or L2 |
RightTrigger | | Also known as RT, or R2 |