GameController.Button

Supported Game Controller Buttons

Values

ValueMeaning
InvalidSDL_CONTROLLER_BUTTON_INVALID
ASDL_CONTROLLER_BUTTON_A
BSDL_CONTROLLER_BUTTON_B
XSDL_CONTROLLER_BUTTON_X
YSDL_CONTROLLER_BUTTON_Y
BackSDL_CONTROLLER_BUTTON_BACK
GuideSDL_CONTROLLER_BUTTON_GUIDE
StartSDL_CONTROLLER_BUTTON_START
LeftStickSDL_CONTROLLER_BUTTON_LEFTSTICK
RightStickSDL_CONTROLLER_BUTTON_RIGHTSTICK
LeftShoulderSDL_CONTROLLER_BUTTON_LEFTSHOULDER
RightShoulderSDL_CONTROLLER_BUTTON_RIGHTSHOULDER
DPadUpSDL_CONTROLLER_BUTTON_DPAD_UP
DPadDownSDL_CONTROLLER_BUTTON_DPAD_DOWN
DPadLeftSDL_CONTROLLER_BUTTON_DPAD_LEFT
DPadRightSDL_CONTROLLER_BUTTON_DPAD_RIGHT

Meta