SDL_GetSensorNonPortableType - Get the platform dependent type of a sensor.
Contents
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);
