Function SDL_GameControllerMappingForIndex

pub unsafe extern "C" fn SDL_GameControllerMappingForIndex(
    mapping_index: i32,
) -> *mut i8
Available on crate feature dep_sdl2 only.
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.