Function SDL_SensorUpdate
pub unsafe extern "C" fn SDL_SensorUpdate()
Available on crate feature
dep_sdl2
only.Expand description
Update the current state of the open sensors.
This is called automatically by the event loop if sensor events are enabled.
This needs to be called from the thread that initialized the sensor subsystem.
\since This function is available since SDL 2.0.9.