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_GetSensorNonPortableType - Get the platform dependent type of a sensor.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                    SDL_GetSensorNonPortableType(3)

Function Parameters

sensor the SDL_Sensor object to inspect.

Name

       SDL_GetSensorNonPortableType - Get the platform dependent type of a sensor.

Return Value

       Returns the sensor platform dependent type, or -1 if sensor is NULL.

Synopsis

#include<SDL3/SDL_sensor.h>intSDL_GetSensorNonPortableType(SDL_Sensor*sensor);

See Also