[][src]Function sdl2_sys::SDL_GameControllerEventState

pub unsafe extern "C" fn SDL_GameControllerEventState(state: c_int) -> c_int

Enable/disable controller event polling.

If controller events are disabled, you must call SDL_GameControllerUpdate() yourself and check the state of the controller when you want controller information.

The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE.