Open a sensor for use.
Defined in SDL_sensor.h
SDL_Sensor* SDL_SensorOpen(int device_index);| int | device_index | The sensor to open. |
(SDL_Sensor *) Returns an SDL_Sensor sensor object, or NULL if an error occurred.
This function is available since SDL 2.0.9.