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