Crate input_linux[][src]

Expand description

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

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.

An event timestamp.

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.

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.