shortcuts
shortcuts copied to clipboard
When binding a shortcut to `/` , it only triggers for the dedicated `/` on the numpad
Thank you for a great library!
I noticed that when I bind a shortcut to /
, it will not trigger when I press Shift+7, which is where the forward slash exists in my (Norwegian) keyboard layout. If I press the dedicated /
key on the numpad (code NumpadDevide
), it works as expected.
As I'm pretty sure Shift+7
isn't consistent for all keyboard layouts, is there any way to bind this shortcut in such a way that it works across the board for the different combinations that produce a /
?
By the way, here is an example of the keyboard event in question (shift+7) which doesn't trigger the shortcut defined for /
.
I should look into this, it feels like unless you have another shortcut bound to Shift+7 the library should already detect that a "/" was written in a keypress event and handle the relevant shortcut properly. As that doesn't seem to be happening I think this is a bug.
@hognevevle could you check if this got fixed in v3?
Closing for lack of more info.