1 .TH "SDL_JoystickName" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
3 SDL_JoystickName\- Get joystick name\&.
8 \fBconst char *\fBSDL_JoystickName\fP\fR(\fBint index\fR);
11 Get the implementation dependent name of joystick\&. The \fBindex\fR parameter refers to the N\&'th joystick on the system\&.
14 Returns a char pointer to the joystick name\&.
19 \f(CW/* Print the names of all attached joysticks */
21 num_joy=SDL_NumJoysticks();
22 printf("%d joysticks found
24 for(i=0;i<num_joy;i++)
26 ", SDL_JoystickName(i));\fR
31 \fI\fBSDL_JoystickOpen\fP\fR
32 ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00