evdev 0.9.2

evdev interface for Linux
docs.rs failed to build evdev-0.9.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: evdev-0.12.1

evdev

Travis Crates.io

Documentation

Nice(r) access to evdev. Works on Rust >= 1.2.0.

What is evdev?

evdev is the Linux kernel's generic input interface.

What does this library support?

This library exposes raw evdev events, but uses the Rust Iterator trait to do so, and will handle SYN_DROPPED events properly for the client. I try to match libevdev closely, where possible.

Writing to devices is not yet supported (eg, turning LEDs on).

Example

See <examples/evtest.rs> for an example of using this library (which roughly corresponds to the userspace evtest tool.