manna-harbour / miryoku

Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
2.76k stars 132 forks source link

Key Emulation Combos #56

Open manna-harbour opened 2 years ago

manna-harbour commented 2 years ago

Add options to emulate the tertiary thumb keys with a combos of primary and secondary, the inner index column keys with combos of index and middle, and the pinkie column keys with combos of middle and ring. This would be an alternative to stretching and would support boards that have eliminated some of those keys.

manna-harbour commented 2 years ago
manna-harbour commented 2 years ago
distracteddev commented 2 years ago

Is there an option to enable this feature in ZMK already or is it still a wip? Or is the only option that is needed the CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY one

manna-harbour commented 2 years ago

@distracteddev In general see https://github.com/manna-harbour/miryoku/issues/56#issuecomment-993376643 above for general status and a link to the docs.

There are a few other undocumented things to note:

It relies on support being added to the mapping file. Check the file for your keyboard and if there's nothing there support will be added by request.

Thumb combos should support all build options, but top and bottom row combos are only included for default options at the moment. QWERTY will be added soon via https://github.com/manna-harbour/miryoku_zmk/pull/8. Support for other build options will be added by request.

Some boards have combos enabled by default but they can be enabled with the appropriate #define in custom_config on other boards that have support in the mapping file. https://github.com/manna-harbour/miryoku_zmk/blob/master/miryoku/mapping/34/ferris.h has thumb combos defined and enabled. https://github.com/manna-harbour/miryoku_zmk/blob/master/miryoku/mapping/30/hummingbird.h has all combos defined, and bottom row and thumb combos enabled.

Boards with combos enabled by default should already have max combos set. Otherwise you need to set it in kconfig.

manna-harbour commented 2 years ago

@distracteddev https://github.com/manna-harbour/miryoku_zmk/pull/8 also includes some of the currently missing docs: https://github.com/manna-harbour/miryoku_zmk/blob/d40b3e6f30d5f4652aec2583483af93dd8b19175/readme.org#key-emulation-combos.