logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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);

See Also