Skip to content

27thLiz/evdev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%