r4fun / keys

:keyboard: Keyboard Shortcuts for 'shiny'
https://r4fun.github.io/keys/
Other
45 stars 6 forks source link

Keylogger #15

Open bryce-carson opened 2 years ago

bryce-carson commented 2 years ago

It's totally not malicious, but how can all key events be monitored with keys; I looked at the mousetrap source very quickly and it defines many scancodes for keys that would be helpful to know their state (depressed, released?).

tylerlittlefield commented 2 years ago

Sorry, but I don't have a great answer. I am not sure how this would work, or how to implement. PR's are welcome though! I see one issue that looks relevant but there is no response (https://github.com/ccampbell/mousetrap/issues/396).