pub enum DeviceType {
Virtual = 1,
Physical = 2,
}Expand description
If the device type is ei_device.device_type.virtual, the device is a
virtual device representing input as applied on the EIS implementation’s
screen. A relative virtual device generates input events in logical pixels,
an absolute virtual device generates input events in logical pixels on one
of the device’s regions. Virtual devices do not have a ei_device.dimension but
it may have an ei_device.region.
If the device type is ei_device.device_type.physical, the device is a
representation of a physical device as if connected to the EIS
implementation’s host computer. A relative physical device generates input
events in mm, an absolute physical device generates input events in mm
within the device’s specified physical size. Physical devices do not have
regions and no ei_device.region events are sent for such devices.
Variants§
Trait Implementations§
Source§impl Clone for DeviceType
impl Clone for DeviceType
Source§fn clone(&self) -> DeviceType
fn clone(&self) -> DeviceType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more