DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetGamepadMappingForGUID.3.en
SDL_GetGamepadMappingForGUID(3) SDL3 FUNCTIONS SDL_GetGamepadMappingForGUID(3)

SDL_GetGamepadMappingForGUID - Get the gamepad mapping string for a given GUID.

Defined in SDL3/SDL_gamepad.h

#include "SDL3/SDL.h"
char * SDL_GetGamepadMappingForGUID(SDL_GUID guid);

a structure containing the GUID for which a mapping is desired.

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.

This function is available since SDL 3.2.0.

(3), SDL_GetJoystickGUIDForID(3), (3), SDL_GetJoystickGUID(3)

SDL 3.2.10 Simple Directmedia Layer