Get the number of trackballs on a joystick.
Joystick trackballs have only relative motion events associated with them and their state cannot be polled.
Most joysticks do not have trackballs.
an SDL_Joystick structure containing joystick information.
the number of trackballs on success or -1 on failure; call SDL_GetError() for more information.
SDL_GetJoystickBall SDL_GetNumJoystickAxes SDL_GetNumJoystickButtons SDL_GetNumJoystickHats
See Implementation
Get the number of trackballs on a joystick.
Joystick trackballs have only relative motion events associated with them and their state cannot be polled.
Most joysticks do not have trackballs.