Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2013-10-06 11:49:00
Size: 1044
Comment: Added missing API function
Revision 2 as of 2013-10-06 21:26:44
Size: 1077
Comment: As before, adding SDL_JoystickGetGUIDString
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:



Use this function to get the implementation-dependent GUID for the joystick at a given device index.


value SDL_JoystickGetDeviceGUID(int device_index)

Function Parameters


the index of the joystick to query (the N'th joystick on the system

Return Value

Returns the GUID of the selected joystick. If called on an invalid index, this function returns a zero GUID; call SDL_GetError() for more information.

Code Examples

You can add your code example here


This function can be called before any joysticks are opened.

CategoryAPI, CategoryJoystick

None: SDL_JoystickGetDeviceGUID (last edited 2013-10-12 18:46:49 by PhilippWiesemann)

Please include your contact information if you'd like to receive a reply.