Go to file
Corey Richardson 43e8f958e7 Add GH_TOKEN
2015-07-21 08:07:36 -04:00
examples Update README and evtest 2015-07-21 05:33:40 -04:00
src Add GH_TOKEN 2015-07-21 08:07:36 -04:00
.gitignore Initial commit 2015-05-29 14:57:46 -04:00
.travis.yml Add GH_TOKEN 2015-07-21 08:07:36 -04:00
Cargo.toml Yank stable support :( 2015-07-21 05:47:33 -04:00
README.md Fix badge links 2015-07-21 07:39:03 -04:00

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.