logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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