SDL_NumJoysticks

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

SDL_NumJoysticks (last edited 2008-04-17 08:18:35 by localhost)