Man page - sdl_updatesensors(3)
Packages contains this manual
Manual
SDL_UpdateSensors
NAMEHEADER FILE
SYNOPSIS
DESCRIPTION
AVAILABILITY
NAME
SDL_UpdateSensors - 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.