SDL_GetGamepadMappingForGUID - Get the gamepad mapping string for a given GUID.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
guid a structure containing the GUID for which a mapping is desired.
Header File
Defined in SDL3/SDL_gamepad.h
Name
SDL_GetGamepadMappingForGUID - Get the gamepad mapping string for a given GUID.
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.
See Also
•(3), SDL_GetJoystickGUIDForID(3), •(3), SDL_GetJoystickGUID(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetGamepadMappingForGUID(3)
Synopsis
#include"SDL3/SDL.h"char*SDL_GetGamepadMappingForGUID(SDL_GUIDguid);
