SDL_JoystickNumBalls
Get the number of joystick trackballs
- Provided by: libsdl1.2-dev (Version: 1.2.15+dfsg1-3ubuntu0.1)
- Source: libsdl1.2
- Report a bug
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