-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot open Minimap on Non-US keyboards #2812
Comments
Hmm, yeah keycode detection is kind of broken. It's hacky, but maybe for now (in lieu of changing What codes do you get when you visit this jsfiddle, and try keys like ä,ö,ü,ß |
It's a mess! 💩 |
This is broken using Swedish and Norwegian keyboards too. |
I did some research today, and yeah it's a mess. This will hopefully get better when DOM Level 3 Keyboard Events are implemented in all browsers, but that's a long way off. For now some decent resources are Unixpapa's summary and this implementation by the noVNC developer. |
Check French keyboard too, per #3660 |
at the latest preview '/' (Shift-7) now works on my German keyboard |
And it works on Swedish keyboard to 😀 |
perfect |
The keyboard shortcut to open the minimap (#2554) is the slash
/
character, which is input on a German keyboard layout viashift
+7
. iD doesn't trigger the minimap-toggle when pressing this key combo. Strangely, pressing the#
character on a German keyboard opens the minimap on Chrome, but not on Firefox.I'm assuming this is because of using the
keyCode
property here, which seems to be a bit broken:The text was updated successfully, but these errors were encountered: