Function sdl2_sys::SDL_SensorOpen
source ยท pub unsafe extern "C" fn SDL_SensorOpen(
device_index: c_int,
) -> *mut SDL_Sensor
Expand description
Open a sensor for use.
\param device_index The sensor to open \returns an SDL_Sensor sensor object, or NULL if an error occurred.
\since This function is available since SDL 2.0.9.