You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the keyboard listener explicitly includes the currently active modifiers when translating the keyboard event (represented by KBDLLHOOKSTRUCT) into a character representation (see here).
It would certainly be possible to perform an additional lookup without any modifiers active, but I would need to consider a reasonable way to integrate this, and implement similar functionality for the other platforms as well.
Reported at GreptimeTeam/demo-scene#2.
More simpler repro:
Shift
+3
will result inKey.shfit
+#
instead ofKey.shfit
+3
.Is it possible we get exactly the key pressed? Or this is a limitation of sys API or hardware API.
I noticed that https://github.com/LaunchMenu/node-global-key-listener can get properly
3,true,LEFT SHIFT,true
forShift
+3
.The text was updated successfully, but these errors were encountered: