Get the mapping at a particular index.
char * SDL_GetGamepadMappingForIndex(int mapping_index);
mapping_index | mapping index |
Returns the mapping string. Must be freed with SDL_free(). Returns NULL if the index is out of range.
This function is available since SDL 3.0.0.