[][src]Function sdl2_sys::SDL_GameControllerAddMapping

pub unsafe extern "C" fn SDL_GameControllerAddMapping(
    mappingString: *const c_char
) -> c_int

Add or update an existing mapping configuration

\return 1 if mapping is added, 0 if updated, -1 on error