SDL_JoystickNumBalls (3) Linux Manual Page
SDL_JoystickNumBalls – Get the number of joystick trackballs
Synopsis
#include "SDL.h" int SDL_JoystickNumBalls(SDL_Joystick *joystick);
SDL_JoystickNumBalls – Get the number of joystick trackballs
int SDL_JoystickNumBalls(SDL_Joystick *joystick);