Penguin
Blame: SDL_JoystickOpen(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_JoystickOpen(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!JoystickOpen
2 !!!SDL_!JoystickOpen
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 EXAMPLES
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 SDL_!JoystickOpen- Opens a joystick for use.
14 !!SYNOPSIS
15
16
17 __#include __
18
19
20 __SDL_Joystick *SDL_!JoystickOpen__(__int
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
38 if(SDL_!NumJoysticks()
39 !!SEE ALSO
40
41
42 __SDL_!JoystickClose__
43 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.