Available on Unix only.
Expand description
Virtual device emulation for evdev via uinput.
This is quite useful when testing/debugging devices, or synchronization.
Structs§
- DevNodes
tokio
This struct is returned from the VirtualDevice::enumerate_dev_nodes_blocking function and will yield the syspaths corresponding to the virtual device. These are of the form/dev/input123
. - This struct is returned from the VirtualDevice::enumerate_dev_nodes function and will yield the syspaths corresponding to the virtual device. These are of the form
/dev/input123
. - Represents a force feedback erase event that we are currently processing.
- Represents a force feedback upload event that we are currently processing.
- An event from a virtual uinput device.
- VirtualEventStream
tokio
An asynchronous stream of input events.