Constant fermium::hints::SDL_HINT_AUTO_UPDATE_SENSORS
source · pub const SDL_HINT_AUTO_UPDATE_SENSORS: &'static [u8];
Expand description
A variable controlling whether SDL updates sensor state when getting input events
This variable can be set to the following values:
- “0”: You’ll call SDL_SensorUpdate() manually
- “1”: SDL will automatically call SDL_SensorUpdate() (default)
This hint can be toggled on and off at runtime.