Module uinput

Source
Expand description

Userspace input devices.

This module allows writing device drivers and virtual input devices in Rust.

A UinputDevice can be created via UinputDevice::builder and will create a corresponding evdev input device that other applications (or this application) can read events from.

Structsยง

AbsSetup
Absolute axis setup information.
Builder
A builder for creating a UinputDevice.
EventWriter
Helper for writing a sequence of events to the uinput device.
Events
An iterator over the events received by a UinputDevice.
ForceFeedbackErase
Contains data about a force-feedback effect deletion.
ForceFeedbackUpload
Contains data about a force-feedback effect upload or update.
SlotWriter
Writes events to a selected multitouch slot.
UinputDevice
A virtual uinput device.