openloaf-rdev 0.5.1

OpenLoaf fork of rdev — listen and send keyboard / mouse events on Windows, Linux and MacOS. Adds macOS event tap auto re-enable on kCGEventTapDisabledByTimeout / ByUserInput so a temporarily disabled tap doesn't silently drop the next batch of key events.
Documentation
1
2
3
4
fn main() {
    let keycode = rdev::linux_keycode_from_key(rdev::Key::Num1);
    dbg!(keycode);
}