Get the implementation-dependent GUID of a joystick.
Defined in <SDL3/SDL_joystick.h>
SDL_GUID SDL_GetJoystickGUIDForID(SDL_JoystickID instance_id);
SDL_JoystickID | instance_id | the joystick instance ID. |
(SDL_GUID) Returns the GUID of the selected joystick. If called with an invalid instance_id, this function returns a zero GUID.
This can be called before any joysticks are opened.
This function is available since SDL 3.1.3.