Function SDL_GetSensorNameForID
pub unsafe extern "C" fn SDL_GetSensorNameForID(
instance_id: u32,
) -> *const i8
Available on crate feature dep_sdl3
only.
Expand description
Get the implementation dependent name of a sensor.
This can be called before any sensors are opened.
§Parameters
instance_id
: the sensor instance ID.
§Return value
Returns the sensor name, or NULL if instance_id
is not valid.
§Availability
This function is available since SDL 3.2.0.