DOKK / manpages / debian 11 / libsdl1.2-dev / SDL_JoystickNumBalls.3.en
SDL_JoystickNumBalls(3) SDL API Reference SDL_JoystickNumBalls(3)

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

Tue 11 Sep 2001, 23:00 SDL