Expand description
Rust bindings to evdev and uinput.
This crate provides an ergonomic interface to Linux’ input subsystem.
Modules§
- bits
- A
BitSetfor values reported byevdev. - event
- Input event types and enumerations.
- ff
- Force-feedback support.
- hotplug
- Support for hotplug events.
- reader
- A convenient API for robustly reading device events.
- uinput
- Userspace input devices.
Structs§
- AbsInfo
- Information about an absolute axis (
Abs). - Bus
- Bus types that devices can be attached to the system with.
- Evdev
- A handle to an event device.
- Event
Reader - Stores a userspace view of a device, and reads events emitted by it.
- InputId
- Input device ID.
- Input
Prop - Input device properties.
- KeyRepeat
- Key repeat settings.
- Keymap
Entry - A device keymap entry translates a scancode to a keycode.
- RawEvents
- Reads raw
InputEvents from anEvdev. - Scancode
- A raw scancode emitted by a keyboard.
- Slot
- A multitouch slot index.
- Unknown
Variant - Error returned by
FromStrimplementations when no matching variant was found. - Version
- An
evdevsubsystem version.
Functions§
- enumerate
- Returns an iterator over all
evdevdevices.