[][src]Function sdl2_sys::SDL_SensorOpen

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

\brief Open a sensor for use.

The index passed as an argument refers to the N'th sensor on the system.

\return A sensor identifier, or NULL if an error occurred.