Open a sensor for use.
Defined in SDL_sensor.h
int device_index); SDL_Sensor* SDL_SensorOpen(
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.