[−][src]Function sdl2_sys::SDL_GameControllerAddMappingsFromRW
pub unsafe extern "C" fn SDL_GameControllerAddMappingsFromRW(
rw: *mut SDL_RWops,
freerw: c_int
) -> c_int
Load a set of mappings from a seekable SDL data stream (memory or file), filtered by the current SDL_GetPlatform() A community sourced database of controllers is available at https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
If \c freerw is non-zero, the stream will be closed after being read.
\return number of mappings added, -1 on error