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