SDL_UpdateSensors - Man Page
Update the current state of the open sensors.
Header File
Defined in SDL3/SDL_sensor.h
Synopsis
#include "SDL3/SDL.h" void SDL_UpdateSensors(void);
Description
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.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS