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_GetSensorProperties - Get the properties associated with a sensor.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                         SDL_GetSensorProperties(3)

Function Parameters

sensor the SDL_Sensor
               object.

Header File

       Defined in SDL3/SDL_sensor.h

Name

       SDL_GetSensorProperties - Get the properties associated with a sensor.

Return Value

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

Synopsis

#include"SDL3/SDL.h"SDL_PropertiesIDSDL_GetSensorProperties(SDL_Sensor*sensor);

See Also