SDL_NumJoysticks
Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:00
Index
Return to Main Contents
NAME
SDL_NumJoysticks - Count available joysticks.
SYNOPSIS
#include "SDL.h"
int SDL_NumJoysticks(void);
DESCRIPTION
Counts the number of joysticks attached to the system.
RETURN VALUE
Returns the number of attached joysticks
SEE ALSO
SDL_JoystickName, SDL_JoystickOpen