Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_JoystickNumBalls(3) SDL API Reference SDL_JoystickNumBalls(3)

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
Tue 11 Sep 2001, 23:00 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org