SDL_GetGamepadMappingForGUID - Man Page
Get the gamepad mapping string for a given GUID.
Header File
Defined in SDL3/SDL_gamepad.h
Synopsis
#include "SDL3/SDL.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.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_GetJoystickGUIDForID(3), ·(3), SDL_GetJoystickGUID(3)
Referenced By
SDL_AddGamepadMapping(3), SDL_AddGamepadMappingsFromFile(3), SDL_AddGamepadMappingsFromIO(3), SDL_GetGamepadMapping(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS