Function fermium::sensor::SDL_SensorOpen
source · pub unsafe extern "C" fn SDL_SensorOpen(
device_index: c_int
) -> *mut SDL_Sensor
Expand description
Open a sensor for use.
The index passed as an argument refers to the N’th sensor on the system.
Returns: A sensor identifier, or NULL if an error occurred.