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(3), SDL_JoystickOpen(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.