1SDL_NumJoysticks(3) SDL API Reference SDL_NumJoysticks(3)
23
4
NAME
6SDL_NumJoysticks - Count available joysticks.
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_NumJoysticks(void);
12
DESCRIPTION
14Counts the number of joysticks attached to the system.
15
RETURN VALUE
17Returns the number of attached joysticks
18
SEE ALSO
20SDL_JoystickName, SDL_JoystickOpen
2122
23
24
SDL Tue 11 Sep 2001, 23:00 SDL_NumJoysticks(3)