Function fermium::gamecontroller::SDL_GameControllerMappingForIndex[][src]

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.