SDL-1.2.14
[sdl_omap.git] / docs / man3 / SDL_JoystickOpened.3
CommitLineData
e14743d1 1.TH "SDL_JoystickOpened" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
2.SH "NAME"
3SDL_JoystickOpened \- Determine if a joystick has been opened
4.SH "SYNOPSIS"
5.PP
6\fB#include "SDL\&.h"
7.sp
8\fBint \fBSDL_JoystickOpened\fP\fR(\fBint index\fR);
9.SH "DESCRIPTION"
10.PP
11Determines whether a joystick has already been opened within the application\&. \fBindex\fR refers to the N\&'th joystick on the system\&.
12.SH "RETURN VALUE"
13.PP
14Returns \fB1\fR if the joystick has been opened, or \fB0\fR if it has not\&.
15.SH "SEE ALSO"
16.PP
17\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickClose\fP\fR
18.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00