Get the game controller mapping string for a given GUID.
Defined in SDL_gamecontroller.h
char * SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid);
SDL_JoystickGUID | guid | a structure containing the GUID for which a mapping is desired. |
(char *) Returns a mapping string or NULL on error; call SDL_GetError() for more information.
The returned string must be freed with SDL_free().
This function is available since SDL 2.0.0.