Module uinput

Source
Available on Unix only.
Expand description

Virtual device emulation for evdev via uinput.

This is quite useful when testing/debugging devices, or synchronization.

Structsยง

DevNodestokio
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.
DevNodesBlocking
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.
FFEraseEvent
Represents a force feedback erase event that we are currently processing.
FFUploadEvent
Represents a force feedback upload event that we are currently processing.
VirtualDevice
A handle to a uinput virtual device.
VirtualDeviceBuilder
A builder struct for creating a new uinput virtual device.
VirtualEventStreamtokio
An asynchronous stream of input events.