[go: up one dir, main page]

Module device

Source
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§

Device

Enums§

DeviceType
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.
Request