Function SDL_GetJoystickGUIDForID
pub unsafe extern "C" fn SDL_GetJoystickGUIDForID(
instance_id: u32,
) -> SDL_GUID
Available on crate feature
dep_sdl3
only.Expand description
Get the implementation-dependent GUID of a joystick.
This can be called before any joysticks are opened.
§Parameters
instance_id
: the joystick instance ID.
§Return value
Returns the GUID of the selected joystick. If called with an invalid instance_id, this function returns a zero GUID.
§Availability
This function is available since SDL 3.2.0.