getGuidForId static method
Get the implementation-dependent GUID of a gamepad.
This can be called before any gamepads are opened.
\param instance_id the joystick instance ID. \returns the GUID of the selected gamepad. If called on an invalid index, this function returns a zero GUID.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_GUIDToString \sa SDL_GetGamepads
extern SDL_DECLSPEC SDL_GUID SDLCALL SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)
{@category gamepad}
Implementation
static SdlGuid getGuidForId(int instanceId) =>
sdlGetGamepadGuidForId(instanceId);