Wiki Page Content

Revision 1 as of 2010-03-16 20:27:32

Clear message

DRAFT

SDL_JoystickOpen

Use this function to open a joystick for use.

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


CategoryAPI, CategoryJoystick

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit