SDL_JoystickOpened
Determine if a joystick has been opened
- Provided by: libsdl1.2-dev (Version: 1.2.15+dfsg1-3ubuntu0.1)
- Source: libsdl1.2
- Report a bug
Determine if a joystick has been opened
#include "SDL.h"
int SDL_JoystickOpened(int index);
Determines whether a joystick has already been opened within the application. 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_JoystickOpen, SDL_JoystickClose