Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-16 20:30:55
Size: 779
Editor: SheenaSmith
Comment: create page, add content (Rev 5540)
Revision 2 as of 2010-08-28 22:24:29
Size: 870
Editor: SheenaSmith
Comment: update content (old wiki)
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''device_index'''||the index of the joystick to query|| ||'''device_index'''||^the index of the joystick to query^ / *the N'th joystick on the system*||
Line 30: Line 30:
 .[[SDL_JoystickClose]] *
 .[[SDL_JoystickOpen]] *

DRAFT

SDL_JoystickOpened

Use this function to get the status of a specified joystick.

Syntax

int SDL_JoystickOpened(int device_index)

Function Parameters

device_index

the index of the joystick to query / *the N'th joystick on the system*

Return Value

Returns 1 if the joystick has been opened, 0 if it has not, or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryJoystick

None: SDL_JoystickGetAttached (last edited 2014-01-11 19:52:45 by PhilippWiesemann)

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