Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout. Miryoku ZMK is the Miryoku implementation for ZMK.
Go to file
2022-06-02 16:03:50 +10:00
.github/workflows Add keymaps for absolem, cradio36, cradios, and cradioz 2022-06-02 16:03:50 +10:00
config Add keymaps for absolem, cradio36, cradios, and cradioz 2022-06-02 16:03:50 +10:00
miryoku Fix keycode translation for clipboard-mac 2022-06-02 16:03:50 +10:00
readme.org Add configuration options and example keymap sections 2022-06-02 16:03:50 +10:00
status.org Rename mapping files 2022-06-02 16:03:50 +10:00

Miryoku ZMK https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/miryoku-roa-32.png

https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/cover/miryoku-kle-cover.png

Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout. This is the miryoku implementation for ZMK.

Miryoku Keymap

The miryoku keymap is a ZMK DT keymap file using C preprocessor macros for configuration options and to abstract the physical layout. The file is miryoku/miryoku.dtsi. The file is included into the keyboard's keymap with

#include "../miryoku/miryoku.dtsi"

Configuration Options

Keymap configuration options and mapping configuration options are given in the documentation in the form option=value. To use configuration options in Miryoku ZMK, convert to the form #define option_value and add to the keyboard keymap file before the mapping or miryoku keymap includes. See the example keyboard keymap.

Example Keyboard Keymap

Below is an example keyboard keymap file for the kyria shield using the 50-kyria mapping with MIRYOKU_MAPPING=EXTENDED_THUMBS mapping configuration option and the following layout configuration options:

  • MIRYOKU_ALPHAS=QWERTY
  • MIRYOKU_NAV=VI
  • MIRYOKU_CLIPBOARD=WIN
// https://github.com/manna-harbour/miryoku-zmk/

#define MIRYOKU_MAPPING_EXTENDED_THUMBS
#define MIRYOKU_ALPHAS_QWERTY
#define MIRYOKU_NAV_VI
#define MIRYOKU_CLIPBOARD_WIN

#include "../miryoku/mapping/50-kyria.h"
#include "../miryoku/miryoku.dtsi"

Mapping

The keymap is mapped onto keyboards with different physical layouts. The keymap is specified in terms of the MIRYOKU_MAPPING macro. The macro is defined in a C header file for each physical layout. Unused keys are mapped to &none. The files are in miryoku/mapping/. The mapping file is included into the keyboard's keymap file before the miryoku keymap with e.g.

#include "../miryoku/mapping/36-minidox.h"

On each hand, only the main alpha block of 3 rows by 5 columns and the 3 most appropriate thumb keys are used. Notes or diagrams are included where the selection of keys is not obvious or where options are provided.

Configuration options

Layouts

34-ferris

Combo TPS

MIRYOKU_COMBO_TPS=ENABLE

Combos of primary and secondary thumb keys emulate the missing tertiary thumb key. This configuration option is enabled automatically for this mapping and can be enabled on other mappings for compatibility

36-minidox

42-corne

44-jian

48-planck

50-kyria

Default

https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-kyria.png

Extend Thumbs

MIRYOKU_MAPPING=EXTENDED_THUMBS

https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-kyria-extended_thumbs.png

56-iris

58-lily58

60-sofle

62-atreus62

64-helix

Keyboard Keymaps

Keymap files for many keyboards included in ZMK are provided in config/.

Prebuilt Firmware

Prebuilt firmware for supported keyboards can be downloaded from the repo when logged in. From the Actions tab select the latest successful workflow run, then select the keyboard in the Artifacts section.

Contact

For issues with the code, including requests for any of the following, please create an issue. Pull requests are also welcome.

  • Additional mapping and keyboard keymap files
  • Additional mapping options (see miryoku QMK for examples)
  • Populating unused keys in MIRYOKU_MAPPING_TAP (currently skipped for some mapping files)

https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/manna-harbour-boa-32.png