SDL_UpdateSensors(3)

SDL_UpdateSensors3

Update the current state of the open sensors.

Usage

#include "SDL3/SDL.h"

void SDL_UpdateSensors(void);

Header file

Defined in SDL3/SDL_sensor.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.