Get the current state of a button on a gamepad.
a gamepad.
a button index (one of the SDL_GamepadButton values).
true if the button is pressed, false otherwise.
SDL_GamepadHasButton SDL_GetGamepadAxis
See Implementation
Get the current state of a button on a gamepad.