Return the SDL_Sensor associated with an instance id.
Defined in SDL_sensor.h, but apps should only #include "SDL.h"
!
SDL_Sensor* SDL_SensorFromInstanceID(SDL_SensorID instance_id);
instance_id | The sensor from instance id |
Returns an SDL_Sensor object.
This function is available since SDL 2.0.9.
CategoryAPI, CategoryAPIFunction