DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetSensorNonPortableType.3.en
SDL_GetSensorNonPortableType(3) SDL3 FUNCTIONS SDL_GetSensorNonPortableType(3)

SDL_GetSensorNonPortableType - Get the platform dependent type of a sensor.

Defined in SDL3/SDL_sensor.h

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

the SDL_Sensor
object to inspect.

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

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer