Skip to content
Rust bindings for libevdev
Rust Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
evdev-sys
examples
src
tests
tools
.gitignore
.gitmodules
.travis.yml
Cargo.toml
README.md
TODO.md

README.md

evdev-rs

Build Status Latest Version Documentation

A Rust wrapper for libevdev

# Cargo.toml
[dependencies]
evdev-rs = "0.3.1"

Why a libevdev wrapper?

The evdev protocol is simple, but quirky, with a couple of behaviors that are non-obvious. libevdev transparently handles some of those quirks.

The evdev crate on [1] is an implementation of evdev in Rust. Nothing wrong with that, but it will miss out on any more complex handling that libevdev provides.

[1] https://github.com/cmr/evdev/blob/master/src/lib.rs

Development

src/enums.rs can be generated by running ./tools/make-enums.sh.

You can’t perform that action at this time.