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(3), SDL_JoystickOpen(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.