Provided by: libsdl1.2-dev_1.2.14-6.4ubuntu3_amd64 bug

NAME

       SDL_JoystickNumBalls - Get the number of joystick trackballs

SYNOPSIS

       #include "SDL.h"

       int SDL_JoystickNumBalls(SDL_Joystick *joystick);

DESCRIPTION

       Return the number of trackballs available from a previously opened SDL_Joystick.

RETURN VALUE

       Number of trackballs.

SEE ALSO

       SDL_JoystickGetBall, SDL_JoystickOpen