InputBot
InputBot copied to clipboard
Rust library for creating global hotkeys, and simulating inputs
Hi! Thanks for making this lib :) I am running into an issue where if I a bind to, say, `AKey`, using `AKey::bind` the input is always intercepted. I saw...
When running the example in the README and pressing `1`, I get this error: ``` thread '' panicked at 'called `Result::unwrap()` on an `Err` value: Nix(Sys(ENODEV))', /home/****/.cargo/git/checkouts/inputbot-ca044018c1f51f7c/cff7a97/src/linux/mod.rs:44:14 ``` I'm currently...
``` RUST_BACKTRACE=full sudo --preserve-env=RUST_BACKTRACE target/debug/Clicker thread 'main' panicked at 'libinput returned invalid 'libinput_event_type'', /home/.../input-0.6.0/src/event.rs:108:18 ``` This error is generated when I scroll my mouse, it seems that there is a...
In the `scan_code` and other functions ``` 0x47 => Some(HomeKey), 0x4b => Some(LeftKey), 0x4d => Some(RightKey), 0x48 => Some(UpKey), 0x50 => Some(DownKey), 0x52 => Some(InsertKey), 0x53 => Some(DeleteKey), ``` ```...
idk if this is realistic to implement (especially cross-plattform), but i'd really need the option to actually "intercept" the keypress in a way that the original key doesn't come through...
I'll try and work on implementing a solution compatible with MacOS over the next few months, and I'll post any updates / concerns over on this issue. My current plan...
Cannot bind to right keys right keys in linux have 0xe0 prepended to them. I cant seem to get is_pressed() to address the bitmap appropriately for scancodes that have a...
Some of the enumerations are not accessible. For example: this means certain actions such as Numpad7Key.is_toggled() work but HomeKey.is_toggled() doesnt. I have patched this on my branch specifically for another...
on Ubuntu 20 I cant get MouseCursor::move_rel to move relative however this is exactly what happens with move_abs.