Expand description
An ei_device represents a single logical input devices. Like physical input devices an ei_device may have multiple capabilities and may e.g. function as pointer and keyboard.
Depending on the ei_handshake.context_type, an ei_device can emulate events via client requests or receive events. It is a protocol violation to emulate certain events on a receiver device, or for the EIS implementation to send certain events to the device. See the individual request/event documentation for details.
Note that for a client to receive objects of this type, it must announce support for this interface in ei_handshake.interface_version.
Structs§
Enums§
- 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 aei_device.dimensionbut it may have anei_device.region.