urob / zmk-helpers

Convenience macros simplifying ZMK's keymap configuration
MIT License
235 stars 79 forks source link

ZMK_UNICODE_PAIR not working in Linux #1

Closed urob closed 2 years ago

urob commented 2 years ago

The shifted version of behaviors created with ZMK_UNICODE_PAIR for Linux does not work correctly.

As a workaround, one can replace helper.h from the main branch with helper.h from the unicode_linux branch. Caveat: One must use LEFT_SHIFT to trigger the shifted version of behaviors created with the unicode_linux version of ZMK_UNICODE_PAIR. Using RIGHT_SHIFT will result in garbled unicode sequences.

urob commented 2 years ago

For a better fix, one can build against a patched version of the masked-mods PR: https://github.com/urob/zmk/tree/masked-mods

Using the patched ZMK branch, ZMK_UNICODE_PAIR works as intended under Linux and can be shifted with either LEFT_SHIFT or RIGHT_SHIFT.