Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_UpdateSensors - Update the current state of the open sensors.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                               SDL_UpdateSensors(3)

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.

Name

       SDL_UpdateSensors - Update the current state of the open sensors.

Synopsis

#include<SDL3/SDL_sensor.h>voidSDL_UpdateSensors(void);

See Also