|
⇤ ← Revision 1 as of 2010-03-16 20:27:32
Size: 978
Comment: create page, add content (Rev 5540)
|
Size: 1003
Comment: added RF
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 30: | Line 30: |
| .[[SDL_JoystickClose]] |
DRAFT |
SDL_JoystickOpen
Use this function to open a joystick for use.
Contents
Syntax
SDL_Joystick* SDL_JoystickOpen(int device_index)
Function Parameters
device_index |
the index of the joystick to query |
Return Value
A joystick identifier, or NULL if an error occurred.
Code Examples
You can add your code example here
Remarks
The index passed as an argument refers to the N'th joystick on the system. This index is the value which will identify this joystick in future joystick events. green
