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