Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2013-10-06 21:26:44
Size: 1077
Comment: As before, adding SDL_JoystickGetGUIDString
Revision 3 as of 2013-10-08 21:14:59
Size: 1088
Comment: Added return type to signature, see SGFunctions page.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
value SDL_JoystickGetDeviceGUID(int device_index) SDL_JoystickGUID SDL_JoystickGetDeviceGUID(int device_index)



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.