SDL_NumJoysticks(3) SDL API Reference SDL_NumJoysticks(3)NAMESDL_NumJoysticks - Count available joysticks.SYNOPSIS#include "SDL.h" int SDL_NumJoysticks(void);DESCRIPTIONCounts the number of joysticks attached to the system.RETURN VALUEReturns the number of attached joysticksSEE ALSOSDL_JoystickName, SDL_JoystickOpenSDLTue 11 Sep 2001, 23:00 SDL_NumJoysticks(3)