blob: 9d82e09b32018c447a7f9cd26707f8f0292b60f8 [file] [log] [blame]
.TH "SDL_JoystickOpened" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
SDL_JoystickOpened \- Determine if a joystick has been opened
\fB#include "SDL\&.h"
\fBint \fBSDL_JoystickOpened\fP\fR(\fBint index\fR);
Determines whether a joystick has already been opened within the application\&. \fBindex\fR refers to the N\&'th joystick on the system\&.
Returns \fB1\fR if the joystick has been opened, or \fB0\fR if it has not\&.
\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickClose\fP\fR
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00