|
Size: 975
Comment: Add SDL_JoystickGetGUIDString as a related function (decided against including its inverse for now)
|
Size: 986
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_JoystickGetGUID(SDL_Joystick* joystick) | SDL_JoystickGUID SDL_JoystickGetGUID(SDL_Joystick* joystick) |
DRAFT |
SDL_JoystickGetGUID
Use this function to get the implementation-dependent GUID for the joystick.
Contents
Syntax
SDL_JoystickGUID SDL_JoystickGetGUID(SDL_Joystick* joystick)
Function Parameters
joystick |
an open joystick |
Return Value
Returns the GUID of the given 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 requires an open joystick.
