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§
- 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 (
/dev/input/*
). - uinput
- An interface to the Linux uinput kernel module that can be used to create virtual input devices.
Structs§
- Absolute
Event - Events that occur when the state of an absolute axis is changed.
- Absolute
Info - Describes the capabilities and constraints of an input device’s absolute axis.
- Absolute
Info Setup - A descriptor used to create a virtual uinput absolute axis.
- Autorepeat
Event - An event that configures the autorepeat behaviour of the input device.
- Event
Codec codec
- Event
Time - An event timestamp.
- Force
Feedback Event - An event that configures a force feedback effect.
- Force
Feedback Status Event - An event that indicates the status of a force feedback effect.
- Input
Event - 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.
- Misc
Event - Miscellaneous events.
- Range
Error - Indicates that a value or event type code was out of range.
- Relative
Event - Events that occur when the state of a relative axis is changed.
- Sound
Event - An event that indicates the device should play a specified sound.
- Switch
Event - Special switch events.
- Synchronize
Event - Synchronization events are used by evdev to group events or convey other out-of-band information.
- UInput
Event - A special event type used to send force-feedback events to uinput.
Enums§
- Absolute
Axis - Absolute axes.
- Autorepeat
Kind - Autorepeat values.
- Event
- An owned and typed input event.
- Event
Kind - Event types
- Event
Mut - A mutable reference to an input event.
- Event
Ref - A reference to an input event.
- Force
Feedback Kind - Force feedback events.
- Force
Feedback Status Kind - Force feedback status events.
- Input
Property - Device properties and quirks.
- Key
- Keys and Buttons
- LedKind
- LEDs.
- Misc
Kind - Miscellaneous events.
- Relative
Axis - Relative axes.
- Sound
Kind - Sounds
- Switch
Kind - Switch events.
- Synchronize
Kind - Synchronization events.
- UInput
Kind - UInput feedback events.
Traits§
- Generic
Event - A generic linux input event.