| SDL_GetSensorID(3) | SDL3 FUNCTIONS | SDL_GetSensorID(3) |
SDL_GetSensorID - Get the instance ID of a sensor.
Defined in SDL3/SDL_sensor.h
#include "SDL3/SDL.h"
SDL_SensorID SDL_GetSensorID(SDL_Sensor *sensor);
( SDL_SensorID ) Returns the sensor instance ID, or 0 on failure; call SDL_GetError () for more information.
This function is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |