[][src]Function fermium::sensor::SDL_SensorOpen

pub unsafe extern "C" fn SDL_SensorOpen(device_index: c_int) -> *mut SDL_Sensor

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.