|
Size: 1077
Comment: As before, adding SDL_JoystickGetGUIDString
|
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) |
DRAFT |
SDL_JoystickGetDeviceGUID
Use this function to get the implementation-dependent GUID for the joystick at a given device index.
Contents
Syntax
SDL_JoystickGUID 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.
