= SDL_GameControllerButton = An enumeration of buttons available from a controller. == Values == {| | SDL_CONTROLLER_BUTTON_INVALID | -1 |- | SDL_CONTROLLER_BUTTON_A | 0 |- | SDL_CONTROLLER_BUTTON_B | 1 |- | SDL_CONTROLLER_BUTTON_X | 2 |- | SDL_CONTROLLER_BUTTON_Y | 3 |- | SDL_CONTROLLER_BUTTON_BACK | 4 |- | SDL_CONTROLLER_BUTTON_GUIDE | 5 |- | SDL_CONTROLLER_BUTTON_START | 6 |- | SDL_CONTROLLER_BUTTON_LEFTSTICK | 7 |- | SDL_CONTROLLER_BUTTON_RIGHTSTICK | 8 |- | SDL_CONTROLLER_BUTTON_LEFTSHOULDER | 9 |- | SDL_CONTROLLER_BUTTON_RIGHTSHOULDER | 10 |- | SDL_CONTROLLER_BUTTON_DPAD_UP | 11 |- | SDL_CONTROLLER_BUTTON_DPAD_DOWN | 12 |- | SDL_CONTROLLER_BUTTON_DPAD_LEFT | 13 |- | SDL_CONTROLLER_BUTTON_DPAD_RIGHT | 14 |- | SDL_CONTROLLER_BUTTON_MISC1 | 15 |- | SDL_CONTROLLER_BUTTON_PADDLE1 | 16 |- | SDL_CONTROLLER_BUTTON_PADDLE2 | 17 |- | SDL_CONTROLLER_BUTTON_PADDLE3 | 18 |- | SDL_CONTROLLER_BUTTON_PADDLE4 | 19 |- | SDL_CONTROLLER_BUTTON_TOUCHPAD | 20 |- | SDL_CONTROLLER_BUTTON_MAX | 21 | |} == Related Functions == :[[SDL_GameControllerGetBindForButton]] :[[SDL_GameControllerGetButton]] :[[SDL_GameControllerGetButtonFromString]] :[[SDL_GameControllerGetStringForButton]] ---- [[CategoryEnum]], [[CategoryGameController]], [[CategoryDraft]]