Function fermium::gamecontroller::SDL_GameControllerEventState
source · pub unsafe extern "C" fn SDL_GameControllerEventState(
state: c_int
) -> c_int
Expand description
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
.