table of contents
other versions
- experimental 3.1.0+ds-1
SDL_GetGamepadMappingForGUID(3) | SDL3 FUNCTIONS | SDL_GetGamepadMappingForGUID(3) |
NAME¶
SDL_GetGamepadMappingForGUID - Get the gamepad mapping string for a given GUID.
SYNOPSIS¶
#include "SDL3/SDL.h"
char * SDL_GetGamepadMappingForGUID(SDL_JoystickGUID guid);
DESCRIPTION¶
The returned string must be freed with SDL_free ().
FUNCTION PARAMETERS¶
- guid
- a structure containing the GUID for which a mapping is desired
RETURN VALUE¶
Returns a mapping string or NULL on error; call
SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.1.0 | SDL |