Get the implementation-dependent GUID for the joystick.
Defined in <SDL3/SDL_joystick.h>
SDL_GUID SDL_GetJoystickGUID(SDL_Joystick *joystick);
SDL_Joystick * | joystick | the SDL_Joystick obtained from SDL_OpenJoystick(). |
(SDL_GUID) 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.
This function requires an open joystick.
This function is available since SDL 3.1.3.