Penguin
Blame: SDL_JoystickOpen(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_JoystickOpen(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!JoystickOpen
2 !!!SDL_!JoystickOpen
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 EXAMPLES
8 SEE ALSO
9 ----
10 !!NAME
11
12
2 perry 13 SDL_!JoystickOpen- Opens a joystick for use.
1 perry 14 !!SYNOPSIS
15
16
17 __#include __
18
19
2 perry 20 __SDL_Joystick *SDL_!JoystickOpen__(__int
1 perry 21 index__);
22 !!DESCRIPTION
23
24
25 Opens a joystick for use within SDL. The __index__ refers
26 to the N'th joystick in the system. A joystick must be
27 opened before it game be used.
28 !!RETURN VALUE
29
30
31 Returns a __SDL_Joystick__ structure on success.
32 __NULL__ on failure.
33 !!EXAMPLES
34
35
36 SDL_Joystick *joy;
37 // Check for joystick
2 perry 38 if(SDL_!NumJoysticks()
1 perry 39 !!SEE ALSO
40
41
2 perry 42 __SDL_!JoystickClose__
1 perry 43 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.