soffes / HotKey

Simple global shortcuts in macOS
MIT License
921 stars 82 forks source link

Z and Y are reversed (using a keyboard with QWERTZ layout) #35

Open martinlexow opened 3 years ago

martinlexow commented 3 years ago

I’m using a keyboard with a German layout (QWERTZ). The keys Z and Y are reversed in comparison to the US layout on it (QWERTY).

When I set a KeyCombo with Key(string: "z") or Key.z it gets recognised as "y" and vice versa on my system (Region is set to Germany, preferred language is set to English).

I suspect this is because keyCodes are hardware-related? What could be a possible fix?

Screenshot 2021-05-11 at 10 39 56 PM
pkamb commented 3 years ago

This is caused by the issue described in #2