[][src]Function sdl2_sys::SDL_SensorUpdate

pub unsafe extern "C" fn SDL_SensorUpdate()

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.