namespace Sandbox;
///
/// Game controller codes, driven from SDL.
///
[Expose]
public enum GamepadCode : int
{
None = -1,
A = 0,
B = 1,
X = 2,
Y = 3,
///
/// Normally the small button on the left side of a gamepad
///
[Title( "Back" )]
SwitchLeftMenu = 4,
///
/// The big button in the middle of a gamepad, usually with the logo on it
///
Guide = 5,
///
/// This is automatically used as the escape key in all games
///
[Title( "Start" )]
SwitchRightMenu = 6,
///
/// The button when you press down on the stick
///
[Title( "Left Analog Stick" )]
LeftJoystickButton = 7,
///
/// The button when you press down on the stick
///
[Title( "Right Analog Stick" )]
RightJoystickButton = 8,
///
/// Also known as the left bumper, or LB, or L1
///
[Title( "Left Shoulder" )]
SwitchLeftBumper = 9,
///
/// Also known as the right bumper, or RB, or R1
///
[Title( "Right Shoulder" )]
SwitchRightBumper = 10,
[Title( "D-Pad Up" ), Icon( "arrow_circle_up" )]
DpadNorth = 11,
[Title( "D-Pad Down" ), Icon( "arrow_circle_down" )]
DpadSouth = 12,
[Title( "D-Pad Left" ), Icon( "arrow_circle_left" )]
DpadWest = 13,
[Title( "D-Pad Right" ), Icon( "arrow_circle_right" )]
DpadEast = 14,
///
/// This is a button that doesn't have a specific name, like the share button on some controllers
///
[Title( "Misc" )]
Misc1 = 15,
///
/// Extra button on the back of some gamepads, like the Xbox Elite
///
Paddle1 = 16,
///
/// Extra button on the back of some gamepads, like the Xbox Elite
///
Paddle2 = 17,
///
/// Extra button on the back of some gamepads, like the Xbox Elite
///
Paddle3 = 18,
///
/// Extra button on the back of some gamepads, like the Xbox Elite
///
Paddle4 = 19,
Touchpad = 20,
[Hide]
BUTTONS_MAX = 21,
///
/// Also known as LT, or L2
///
LeftTrigger = 100,
///
/// Also known as RT, or R2
///
RightTrigger = 101
};