device_query
device_query copied to clipboard
A simple library to query mouse and keyboard inputs without a window. Will work in Windows, Linux, and macOS.
(Sorry, I'm completely new to desktop programming. Maybe it's not an issue.) I ran the code from `examples/event_based_print_keys.rs` and found that the app uses 300% CPU (on Mac). As I...
Hello, as wayland is now getting the default window manager on several linux distributions, I would very like to see support for it in this lib. In case you need...
From a different issue: When recording keystrokes via dq, when encountering these keys (SHIFT、OPTION、CONTROL), it will be recorded as 'left' regardless of whether the press is 'left' or 'right'. This...
when i poll for pressed keys using DeviceState.get_keys() when say, a game is in full screen, it does not work.
Just a feature request to include scrolling in the mouse state if possible
Wanted ask if you can add support for KEY_PROG1,2,3,4? I am creating an issue because I am not sure how would that work on Windows/MacOS, on Linux that is straight...
When trying to input a '@' key using a German QWERTZ keyboard (so ALTGR+Q), the crate outputs "Key2" instead of L-CONTROL+R-ALT+Q. This is probably due to Linux/X11 translating the keycodes...
This project currently supports a subset of ASCII and most of the modifier keys like CTRL and SHIFT. But on other keyboard layouts it provides incorrect mappings, e.g. QWERTZ ö...
priorKey(): The name of the last key which was down prior to the most recent key-down or key-release, or blank if no applicable key-press can be found in the key...
When recording key down and up events using `DeviceState`'s `on_key_down` and `on_key_up` I'm still ONLY receiving the meta keys even after adding my terminal to accessibility settings as listed in...