Get the number of buttons on a joystick.
an SDL_Joystick structure containing joystick information.
The number of buttons on success or -1 on failure; call SDL_GetError() for more information.
SDL_GetJoystickButton SDL_GetNumJoystickAxes SDL_GetNumJoystickBalls SDL_GetNumJoystickHats
See Implementation
Get the number of buttons on a joystick.