SDL_JoystickNumBalls - Get the number of joystick trackballs
#include "SDL.h" int SDL_JoystickNumBalls(SDL_Joystick *joystick);
Return the number of trackballs available from a previously opened SDL_Joystick.
Number of trackballs.
SDL_JoystickGetBall, SDL_JoystickOpen