Function sdl2_sys::SDL_SensorOpen
source · pub unsafe extern "C" fn SDL_SensorOpen(
device_index: c_int,
) -> *mut SDL_Sensor
Expand description
\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.