SDL_GetJoystickGUIDForID

Get the implementation-dependent GUID of a joystick.

This can be called before any joysticks are opened.

extern (C) nothrow @nogc extern
SDL_GetJoystickGUIDForID

Parameters

instance_id SDL_JoystickID

The joystick instance ID.

Return Value

Type: SDL_GUID

The GUID of the selected joystick. If called with an invalid instance_id, this function returns a zero GUID.

See Also

Meta