|
⇤ ← Revision 1 as of 2013-10-06 11:49:00
Size: 1044
Comment: Added missing API function
|
Size: 1077
Comment: As before, adding SDL_JoystickGetGUIDString
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 40: | Line 40: |
| .[[SDL_JoystickGetGUIDString]] |
DRAFT |
SDL_JoystickGetDeviceGUID
Use this function to get the implementation-dependent GUID for the joystick at a given device index.
Contents
Syntax
value SDL_JoystickGetDeviceGUID(int device_index)
Function Parameters
device_index |
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
Remarks
This function can be called before any joysticks are opened.
