Function sdl2_sys::SDL_GameControllerMappingForIndex
source ยท pub unsafe extern "C" fn SDL_GameControllerMappingForIndex(
mapping_index: c_int,
) -> *mut c_char
Expand description
Get the mapping at a particular index.
\returns the mapping string. Must be freed with SDL_free(). Returns NULL if the index is out of range.
\since This function is available since SDL 2.0.6.