[][src]Function fermium::gamecontroller::SDL_GameControllerAddMappingsFromFile

pub unsafe fn SDL_GameControllerAddMappingsFromFile(
    file: *const c_char
) -> c_int

Load a set of mappings from a file.

Results are filtered by the current [SDL_GetPlatform].

Convenience function that calls SDL_GameControllerAddMappingsFromRW.