SDL_GetSensorProperties - Man Page

Get the properties associated with a sensor.

Synopsis

#include <SDL3/SDL_sensor.h>

SDL_PropertiesID SDL_GetSensorProperties(SDL_Sensor *sensor);

Function Parameters

sensor

the SDL_Sensor object.

Return Value

Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS