Get the current state of a button on a joystick.
an SDL_Joystick structure containing joystick information.
the button index to get the state from; indices start at index 0.
true if the button is pressed, false otherwise.
SDL_GetNumJoystickButtons
See Implementation
Get the current state of a button on a joystick.