Function SDL_UpdateSensors

pub unsafe extern "C" fn SDL_UpdateSensors()
Available on crate feature dep_sdl3 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.

§Availability

This function is available since SDL 3.2.0.