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

RELATED TO SDL_NumJoysticks…

SDL_JoystickName, SDL_JoystickOpen