SDL_NumJoysticks man page

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

Info

Tue 11 Sep 2001, 23:00 SDL SDL API Reference