pub async fn is_device_type(
device_descriptor: &DeviceDescriptor,
device_type: InputDeviceType,
) -> boolExpand description
Returns true if the device type of input_device matches device_type.
ยงParameters
input_device: The InputDevice to check the type of.device_type: The type of the device to compare to.