-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: add key names from web tool #869
Comments
on Linux (wayland) and US layout detects all keyboard keys, but no mouse keys/events |
Though what would it the codes be used for? |
It would be used for str_to_oscode |
Interesting, so the But what kanata Win-LLHOOK does today is use the equivalent of |
I would guess switching to use scancodes should also fix this long-standing issue that I hadn't considered before. Probably worth doing! 🙂 |
As it turns out, |
Do you still need the key names? I looked up the w3c spec for quote from the UIEvents w3c spec document:
The UIEvents-Code link in the quote links to a footnote reference at the bottom, which contains a link to another spec document: UI Events KeyboardEvent code Values, which contains tables that list all the key names. More on event.code: KeyboardEvent.code - MDN |
Fixed in #871 Now still need to add the proper docs and add to str_to_oscode |
I tested the feature and used successfully Numpad9, F1 (upper case) in my config - great. Then I tried to break it But they all worked. :)
|
Is your feature request related to a problem? Please describe.
https://github.com/houmain/keymapper?tab=readme-ov-file#key-names
Apparently there's a website to allow easy discovery of keycodes. Not having tested yet, I would assume this works well for LLHOOK but I am less certain about Linux evdev and Interception.
But it would be able to use/suggest in docs if it works
Describe the solution you'd like.
Investigate and see if it works
Describe alternatives you've considered.
Not adding them because it doesn't work as intended
Additional context
No response
The text was updated successfully, but these errors were encountered: