GNU/Linux |
CentOS 5.3 |
|
![]() |
SDL_NumJoysticks(3) |
![]() |
SDL_NumJoysticks− Count available joysticks.
#include "SDL.h"
int SDL_NumJoysticks(void);
Counts the number of joysticks attached to the system.
Returns the number of attached joysticks
SDL_JoystickName, SDL_JoystickOpen
![]() |
SDL_NumJoysticks(3) | ![]() |