Function SDL_GetGamepadMappingForGUID
pub unsafe extern "C" fn SDL_GetGamepadMappingForGUID(
guid: SDL_GUID,
) -> *mut i8
Available on crate feature
dep_sdl3
only.Expand description
Get the gamepad mapping string for a given GUID.
§Parameters
guid
: a structure containing the GUID for which a mapping is desired.
§Return value
Returns a mapping string or NULL on failure; call SDL_GetError()
for more
information. This should be freed with SDL_free()
when it is no
longer needed.
§Availability
This function is available since SDL 3.2.0.