Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2013-07-22 20:47:14
Size: 857
Comment: Changed to SDL_JoystickGetAttached.
Revision 5 as of 2014-01-11 19:52:45
Size: 853
Comment: Removed *.
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
 .[[SDL_JoystickClose]] *
 .[[SDL_JoystickOpen]] *
 .[[SDL_JoystickClose]]
 .[[SDL_JoystickOpen]]

DRAFT

SDL_JoystickGetAttached

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

Syntax

SDL_bool SDL_JoystickGetAttached(SDL_Joystick* joystick)

Function Parameters

joystick

the joystick to query

Return Value

Returns SDL_TRUE if the joystick has been opened, SDL_FALSE if it has not; 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