SDL_GetGamepadGUIDForID

Get the implementation-dependent GUID of a gamepad.

This can be called before any gamepads are opened.

extern (C) nothrow @nogc extern
SDL_GetGamepadGUIDForID

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

Type: SDL_GUID

the GUID of the selected gamepad. If called on an invalid index, this function returns a zero GUID.

See Also

Meta