Function SDL_OpenSensor
pub unsafe extern "C" fn SDL_OpenSensor(
instance_id: u32,
) -> *mut SDL_Sensor
Available on crate feature
dep_sdl3
only.Expand description
Open a sensor for use.
§Parameters
instance_id
: the sensor instance ID.
§Return value
Returns an SDL_Sensor
object or NULL on failure; call SDL_GetError()
for
more information.
§Availability
This function is available since SDL 3.2.0.