Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2013-10-08 21:14:59
Size: 1088
Comment: Added return type to signature, see SGFunctions page.
Revision 4 as of 2013-10-12 18:46:49
Size: 982
Comment: Removed search confusing line.
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

##*^*^*^*^*See for details on editing this page*^*^*^*^*



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


SDL_JoystickGUID 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.