Return the SDL_Sensor associated with an instance ID.
Defined in <SDL3/SDL_sensor.h>
SDL_Sensor * SDL_GetSensorFromID(SDL_SensorID instance_id);
SDL_SensorID | instance_id | the sensor instance ID. |
(SDL_Sensor *) Returns an SDL_Sensor object or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.