SDL_GetGamepadMappingForGUID - Man Page
Get the gamepad mapping string for a given GUID.
Synopsis
#include <SDL3/SDL_gamepad.h> char * SDL_GetGamepadMappingForGUID(SDL_GUID guid);
Function 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.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL_AddGamepadMapping(3), SDL_AddGamepadMappingsFromFile(3), SDL_AddGamepadMappingsFromIO(3), SDL_GetGamepadMapping(3).
SDL 3.3.2 Simple Directmedia Layer SDL3 FUNCTIONS