SYNOPSIS

#include "SDL.h"

int SDL_JoystickOpened(int index);

DESCRIPTION

Determines whether a joystick has already been opened within the application. index refers to the N'th joystick on the system.

RETURN VALUE

Returns 1 if the joystick has been opened, or 0 if it has not.

RELATED TO SDL_JoystickOpened…

SDL_JoystickOpen, SDL_JoystickClose