table of contents
other versions
SDL_GetGamepadMappingForIndex(3) | SDL3 FUNCTIONS | SDL_GetGamepadMappingForIndex(3) |
NAME¶
SDL_GetGamepadMappingForIndex - Get the mapping at a particular index.
SYNOPSIS¶
#include "SDL3/SDL.h"
char * SDL_GetGamepadMappingForIndex(int mapping_index);
FUNCTION PARAMETERS¶
- mapping_index
- mapping index
RETURN VALUE¶
Returns the mapping string. Must be freed with SDL_free (). Returns NULL if the index is out of range.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SDL 3.0.0 | SDL |