zerowriter / zerowriter1

126 stars 20 forks source link

Using with other Keyboards #20

Closed sierrax369 closed 2 months ago

sierrax369 commented 2 months ago

Hi, I tried to use the zerowriter1 with a Keychron V4 ISO Ger and figured out, that the key what typically used for - and is not matching. Means when you are using a Keyboard with the Minus (-) and Underline () key with a shift the python script freezes with a traceback. Instead the Numpad Minus (-) is in use. On a US keyboard with QMK/VIA this is not a big deal, there you can easily replace the origin key on the first layer by the Numpad Minus. But on something like the German layout there is a Language specific symbol on it what would confuse the OS Keymapping. Workaround for my setup is to use a Macro with Shift and the Keypad Minus and use it on a different layer. Kind Regards SierraX369

sierrax369 commented 2 months ago

Found the way to fix it. The - looks a bit different in Python module keyboard: Py module keyboard showkey KeyboardEvent(− down) == keycode 53 press KeyboardEvent(- down) == keycode 74 press

Added in my keymaps.py the line: "−": '_', to fix this issue. Kind Regards SierraX369