SDL_JoystickOpened(3) SDL API Reference SDL_JoystickOpened(3)NAMESDL_JoystickOpened - Determine if a joystick has been opened
int SDL_JoystickOpened(int index);
Determines whether a joystick has already been opened within the appli‐
cation. index refers to the N'th joystick on the system.
Returns 1 if the joystick has been opened, or 0 if it has not.
SDL Tue 11 Sep 2001, 23:00 SDL_JoystickOpened(3)