[−][src]Crate input_linux
Userspace bindings to the Linux evdev and uinput subsystems.
Start by looking at the EvdevHandle and UInputHandle types.
Re-exports
pub extern crate input_linux_sys as sys; |
pub use evdev::EvdevHandle; |
pub use uinput::UInputHandle; |
pub use bitmask::Bitmask; |
Modules
| bitmask | Bitmasks are a set of bits that can be indexed and queried by the values of various enum types. |
| enum_iterator | Iteration over enum values. |
| evdev | An interface to the Linux kernel's event devices ( |
| uinput | An interface to the Linux uinput kernel module that can be used to create virtual input devices. |
Structs
| AbsoluteEvent | Events that occur when the state of an absolute axis is changed. |
| AbsoluteInfo | Describes the capabilities and constraints of an input device's absolute axis. |
| AbsoluteInfoSetup | A descriptor used to create a virtual uinput absolute axis. |
| AutorepeatEvent | An event that configures the autorepeat behaviour of the input device. |
| EventTime | An event timestamp. |
| InputEvent | A generic event. |
| InputId | Identifies an input device. |
| KeyEvent | An event that indicates the state of a key has changed. |
| KeyState | Key event value states. |
| LedEvent | An event that indicates whether the specified LED should turn on/off. |
| MiscEvent | Miscellaneous events. |
| RangeError | Indicates that a value or event type code was out of range. |
| RelativeEvent | Events that occur when the state of a relative axis is changed. |
| SoundEvent | An event that indicates the device should play a specified sound. |
| SwitchEvent | Special switch events. |
| SynchronizeEvent | Synchronization events are used by evdev to group events or convey other out-of-band information. |
| UInputEvent | A special event type used to send force-feedback events to uinput. |
Enums
| AbsoluteAxis | Absolute axes. |
| AutorepeatKind | Autorepeat values. |
| Event | An owned and typed input event. |
| EventKind | Event types |
| EventMut | A mutable reference to an input event. |
| EventRef | A reference to an input event. |
| InputProperty | Device properties and quirks. |
| Key | Keys and Buttons |
| LedKind | LEDs. |
| MiscKind | Miscellaneous events. |
| RelativeAxis | Relative axes. |
| SoundKind | Sounds |
| SwitchKind | Switch events. |
| SynchronizeKind | Synchronization events. |
| UInputKind | UInput feedback events. |
Traits
| GenericEvent | A generic linux input event. |