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