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