evdev
evdev copied to clipboard
Rust interface to Linux event devices
Unnecessary, since all the errors that can happen are just standard OS errors. I was gonna make the `InvalidEvent` condition just be a custom `io::Error`, but I replaced with a...
For a lot of drivers, grouping of events matters. The current EventStream implementation doesn't expose their grouping so it is difficult to properly implement functionalities using such devices if you...
If you call Device::into_event_stream() and it fails, the device is dropped and has no way to recover it. If you would like to use any information off of the Device...
Thanks for the work on this crate! A user of my project discovered a bug in v0.12.1 where the dev node paths have changed since v0.12.0. It remains an iterator...
I'm not entirely sure what I'm doing is how it is intended, but my goal is to set the mouse cursor to an absolute position on screen (not a relative...
It'd be nice if a git tag could be used to correspond to the `Cargo.toml` version changes, makes looking at the git log to grasp when things changed a lot...
I wanted to know if it might be possible to get this info somehow
It's quite possible I'm the only person who would run into a problem with this, so feel free to ignore if that's the case. It took me a little while...
In addition of the current constructors, a new constructor could be added: ```rust fn from_kind(kind: impl Into, value); impl From for InputEventKind {} impl From for InputEventKind {} ... InputEvent::from_kind(Key::BTN_A,...
Suppport `get_key_state()`, `get_switch_state()` and `get_led_state()` for `VirtualDevice`.