Function sdl2_sys::SDL_GameControllerMappingForGUID
source ยท pub unsafe extern "C" fn SDL_GameControllerMappingForGUID(
guid: SDL_JoystickGUID,
) -> *mut c_char
Expand description
Get the game controller mapping string for a given GUID.
The returned string must be freed with SDL_free().
\param guid a structure containing the GUID for which a mapping is desired \returns a mapping string or NULL on error; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_JoystickGetDeviceGUID \sa SDL_JoystickGetGUID