Crate input_linux
source ·Expand description
Userspace bindings to the Linux evdev and uinput subsystems.
Start by looking at the EvdevHandle
and UInputHandle
types.
Re-exports§
pub use crate::evdev::EvdevHandle;
pub use crate::uinput::UInputHandle;
pub use crate::bitmask::Bitmask;
pub use input_linux_sys as sys;
Modules§
- Bitmasks are a set of bits that can be indexed and queried by the values of various enum types.
- Iteration over enum values.
- An interface to the Linux kernel’s event devices (
/dev/input/*
). - An interface to the Linux uinput kernel module that can be used to create virtual input devices.
Structs§
- Events that occur when the state of an absolute axis is changed.
- Describes the capabilities and constraints of an input device’s absolute axis.
- A descriptor used to create a virtual uinput absolute axis.
- An event that configures the autorepeat behaviour of the input device.
- Event
Codec codec
- An event timestamp.
- An event that configures a force feedback effect.
- An event that indicates the status of a force feedback effect.
- A generic event.
- Identifies an input device.
- An event that indicates the state of a key has changed.
- Key event value states.
- An event that indicates whether the specified LED should turn on/off.
- Miscellaneous events.
- Indicates that a value or event type code was out of range.
- Events that occur when the state of a relative axis is changed.
- An event that indicates the device should play a specified sound.
- Special switch events.
- Synchronization events are used by evdev to group events or convey other out-of-band information.
- A special event type used to send force-feedback events to uinput.
Enums§
- Absolute axes.
- Autorepeat values.
- An owned and typed input event.
- Event types
- A mutable reference to an input event.
- A reference to an input event.
- Force feedback events.
- Force feedback status events.
- Device properties and quirks.
- Keys and Buttons
- LEDs.
- Miscellaneous events.
- Relative axes.
- Sounds
- Switch events.
- Synchronization events.
- UInput feedback events.
Traits§
- A generic linux input event.