├── .github ├── FUNDING.yml └── workflows │ ├── zmk │ ├── outboards │ ├── boards │ │ ├── glove80_lh │ │ ├── glove80_rh │ │ ├── corne-ish_zen │ │ ├── zaphod │ │ ├── adv360pro │ │ ├── one42 │ │ ├── preonic_rev3 │ │ ├── klacker_bs │ │ ├── ahokore │ │ ├── ble_chiffre │ │ ├── corneish_zen_v1 │ │ ├── ffkb-holyiot │ │ ├── technikable │ │ ├── tipper_tf │ │ └── sparkfun_nrf52840_mini │ └── shields │ │ ├── absolem │ │ ├── breeze │ │ ├── bat43 │ │ ├── contra │ │ ├── xmk │ │ ├── bastyl │ │ ├── chocv │ │ ├── ergodash │ │ ├── ffkb │ │ ├── arch36 │ │ ├── draculad │ │ ├── gatoraid40 │ │ ├── humla │ │ ├── levinson │ │ ├── luna │ │ ├── rebound_v4 │ │ ├── tightyl │ │ ├── urchin │ │ ├── viterbi │ │ ├── berylline │ │ ├── dilemma │ │ ├── horizon │ │ ├── klor │ │ ├── klotz │ │ ├── reviung39 │ │ ├── rockon │ │ ├── tbkmini │ │ ├── totem │ │ ├── clog_v2 │ │ ├── hillside48 │ │ ├── rae_dux │ │ ├── rommana │ │ ├── swweeep │ │ ├── barobord │ │ ├── mano42 │ │ ├── rollow │ │ ├── sofle_rgb │ │ ├── pinkiesout │ │ ├── pteron36 │ │ ├── zaphod_lite │ │ ├── scylla_dmmpcb │ │ ├── tbkmini_adapterv2 │ │ ├── choc-corne │ │ ├── ahokore │ │ ├── dactyl_manuform_4x5 │ │ ├── revxlp │ │ ├── microdox_mod │ │ ├── ergotravel │ │ └── pockettype │ ├── build-example-corne-ish_zen.yml │ ├── build-example-tbkmini-nice_nano_v2.yml │ ├── test-build.yml │ ├── build-example-xmk-xmk.yml │ ├── build-example-corne-nice_nano-display.yml │ ├── build-example-corne-nice_nano_v2-nice_view.yml │ ├── test-all-xiao-controllers.yml │ ├── build-example-xmk-native_posix_64.yml │ ├── build-example-suspend.yml │ ├── build-example-mousekeyspr.yml │ ├── test-all-promicro-controllers.yml │ ├── test-all-xiao-shields.yml │ ├── build-example-corneish_zen-custom.yml │ ├── test-all-configs.yml │ ├── test-all-boards.yml │ ├── test-all-promicro-shields.yml │ ├── test-inputs.yml │ ├── build-inputs.yml │ └── main.yml ├── miryoku ├── custom_config.h ├── miryoku_behaviors.h ├── miryoku_kludge_tapdelay.dtsi ├── miryoku_mousekeys.dtsi ├── miryoku_mousekeys.h ├── miryoku_kludge_mousekeyspr.dtsi ├── miryoku_double_tap_guard.h ├── miryoku_shift_functions.h ├── miryoku_behaviors.dtsi ├── mapping │ ├── 30 │ │ └── hummingbird.h │ ├── 34 │ │ ├── ferris.h │ │ ├── ble_chiffre.h │ │ └── osprette.h │ ├── 36 │ │ ├── clog_v2.h │ │ └── minidox.h │ ├── 38 │ │ ├── totem.h │ │ └── draculad.h │ ├── 39 │ │ └── reviung39.h │ ├── 40 │ │ ├── waterfowl.h │ │ └── gatoraid40.h │ ├── 41 │ │ └── reviung41.h │ ├── 42 │ │ ├── barobord.h │ │ ├── corne.h │ │ ├── mano42.h │ │ └── elephant42.h │ ├── 44 │ │ ├── klor.h │ │ ├── jian.h │ │ └── technikable.h │ ├── 45 │ │ └── ffkb.h │ ├── 46 │ │ ├── tightyl.h │ │ └── dactyl_manuform_4x5.h │ ├── 48 │ │ ├── bat43.h │ │ ├── planck.h │ │ ├── lets_split.h │ │ └── hillside48.h │ ├── 50 │ │ └── kyria.h │ ├── 52 │ │ └── horizon.h │ ├── 53 │ │ └── klacker_bs.h │ ├── 54 │ │ └── ergotravel.h │ ├── 56 │ │ ├── jiran.h │ │ └── iris.h │ ├── 58 │ │ ├── leeloo.h │ │ ├── lily58.h │ │ └── bastyl.h │ ├── 60 │ │ ├── lotus58.h │ │ ├── sofle.h │ │ ├── preonic.h │ │ └── naked60.h │ ├── 61 │ │ └── 60_ansi.h │ ├── 62 │ │ └── atreus.h │ ├── 63 │ │ └── rebound.h │ ├── 64 │ │ └── helix.h │ ├── 66 │ │ ├── pinkiesout.h │ │ └── breeze.h │ ├── 70 │ │ ├── redox.h │ │ ├── ergodash.h │ │ ├── zodiark.h │ │ └── viterbi.h │ ├── 80 │ │ └── glove80.h │ └── 82 │ │ └── adv360.h ├── miryoku_babel │ ├── miryoku_layer_list.h │ └── miryoku_layer_selection.h ├── miryoku_double_tap_guard.dtsi ├── miryoku_clipboard.h ├── miryoku.h ├── miryoku_kludge_mousekeyspr.h ├── miryoku.dtsi ├── miryoku_shift_functions.dtsi ├── miryoku_kludge_tapdelay.h ├── miryoku_kludge_thumbcombos.dtsi ├── miryoku_kludge_toprowcombos.dtsi └── miryoku_kludge_bottomrowcombos.dtsi ├── docs └── quickstart │ ├── images │ └── fields.png │ └── readme.org └── config ├── luna.conf ├── berylline.conf ├── hummingbird.conf ├── rommana.conf ├── native_posix_64.overlay ├── ffkb.keymap ├── iris.keymap ├── jian.keymap ├── jorne.keymap ├── klor.keymap ├── a_dux.keymap ├── absolem.keymap ├── ahokore.keymap ├── arch36.keymap ├── bastyl.keymap ├── bat43.keymap ├── breeze.keymap ├── chocv.keymap ├── clog.keymap ├── clog_v2.keymap ├── contra.keymap ├── corne.keymap ├── cradio.keymap ├── crbn.keymap ├── dilemma.keymap ├── eek.keymap ├── glove80.keymap ├── helix.keymap ├── horizon.keymap ├── humla.keymap ├── jiran.keymap ├── klotz.keymap ├── kyria.keymap ├── leeloo.keymap ├── lily58.keymap ├── lotus58.keymap ├── m60.keymap ├── mano42.keymap ├── naked60.keymap ├── nice60.keymap ├── one42.keymap ├── rae_dux.keymap ├── redox.keymap ├── revxlp.keymap ├── sofle.keymap ├── sofle_rgb.keymap ├── swweeep.keymap ├── tbkmini.keymap ├── tightyl.keymap ├── totem.keymap ├── urchin.keymap ├── viterbi.keymap ├── xmk.keymap ├── zaphod.keymap ├── zodiark.keymap ├── adv360pro.keymap ├── barobord.keymap ├── choc-corne.keymap ├── draculad.keymap ├── ergodash.keymap ├── ferris_rev02.keymap ├── ffkb-holyiot.keymap ├── levinson.keymap ├── luna.keymap ├── osprette.keymap ├── planck_rev6.keymap ├── pockettype.keymap ├── preonic_rev3.keymap ├── pteron36.keymap ├── rebound_v4.keymap ├── reviung39.keymap ├── reviung41.keymap ├── rockon.keymap ├── rommana.keymap ├── scylla_dmmpcb.keymap ├── splitreus62.keymap ├── tipper_tf.keymap ├── waterfowl.keymap ├── zaphod_lite.keymap ├── berylline.keymap ├── ble_chiffre.keymap ├── boardsource5x12.keymap ├── corne-ish_zen_left.keymap ├── corne-ish_zen_right.keymap ├── elephant42.keymap ├── ergotravel.keymap ├── gatoraid40.keymap ├── hillside48.keymap ├── hummingbird.keymap ├── klacker_bs.keymap ├── native_posix_64.keymap ├── pinkiesout.keymap ├── technikable.keymap ├── splitkb_aurora_corne.keymap ├── splitkb_aurora_sweep.keymap ├── dactyl_manuform_4x5.keymap ├── microdox.keymap ├── rollow.keymap ├── microdox_mod.keymap ├── corneish_zen.keymap └── native_posix_64.conf /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [manna-harbour] 2 | -------------------------------------------------------------------------------- /miryoku/custom_config.h: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | -------------------------------------------------------------------------------- /.github/workflows/zmk: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | zmk=zmkfirmware/zmk/main 5 | -------------------------------------------------------------------------------- /docs/quickstart/images/fields.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constraint-systems/miryoku_zmk_update/master/docs/quickstart/images/fields.png -------------------------------------------------------------------------------- /config/luna.conf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 5 | -------------------------------------------------------------------------------- /config/berylline.conf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 5 | -------------------------------------------------------------------------------- /config/hummingbird.conf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 5 | -------------------------------------------------------------------------------- /config/rommana.conf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 5 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/glove80_lh: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | zmk=moergo-sc/zmk/main 5 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/glove80_rh: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | zmk=moergo-sc/zmk/main 5 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/corne-ish_zen: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | zmk=LOWPROKB/zmk/Board-Corne-ish-Zen-dedicated-work-queue 5 | -------------------------------------------------------------------------------- /config/native_posix_64.overlay: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | &kscan { 5 | /delete-property/ exit-after; 6 | rows = <4>; 7 | columns = <32>; 8 | }; 9 | -------------------------------------------------------------------------------- /miryoku/miryoku_behaviors.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #define U_MT(MOD, TAP) &u_mt MOD TAP 7 | #define U_LT(LAYER, TAP) &u_lt LAYER TAP 8 | -------------------------------------------------------------------------------- /config/ffkb.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/45/ffkb.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/iris.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/56/iris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/jian.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/44/jian.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/jorne.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/44/jian.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/klor.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/44/klor.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/a_dux.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/absolem.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ahokore.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/arch36.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/bastyl.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/58/bastyl.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/bat43.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/bat43.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/breeze.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/66/breeze.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/chocv.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/clog.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/osprette.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/clog_v2.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/clog_v2.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/contra.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/planck.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/corne.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/cradio.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/crbn.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/planck.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/dilemma.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/eek.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/glove80.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/80/glove80.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/helix.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/64/helix.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/horizon.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/52/horizon.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/humla.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/jiran.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/56/jiran.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/klotz.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/kyria.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/50/kyria.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/leeloo.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/58/leeloo.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/lily58.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/58/lily58.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/lotus58.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/lotus58.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/m60.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/61/60_ansi.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/mano42.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/mano42.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/naked60.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/naked60.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/nice60.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/61/60_ansi.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/one42.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/rae_dux.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/redox.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/70/redox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/revxlp.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/sofle.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/sofle.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/sofle_rgb.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/sofle.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/swweeep.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/tbkmini.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/tightyl.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/46/tightyl.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/totem.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/38/totem.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/urchin.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/viterbi.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/70/viterbi.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/xmk.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/zaphod.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/zodiark.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/70/zodiark.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/adv360pro.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/82/adv360.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/barobord.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/barobord.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/choc-corne.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/draculad.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/38/draculad.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ergodash.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/70/ergodash.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ferris_rev02.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ffkb-holyiot.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/45/ffkb.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/levinson.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/lets_split.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/luna.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/30/hummingbird.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/osprette.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/osprette.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/planck_rev6.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/planck.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/pockettype.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/planck.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/preonic_rev3.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/preonic.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/pteron36.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/rebound_v4.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/63/rebound.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/reviung39.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/39/reviung39.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/reviung41.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/41/reviung41.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/rockon.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/66/pinkiesout.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/rommana.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/30/hummingbird.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/scylla_dmmpcb.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/58/bastyl.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/splitreus62.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/62/atreus.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/tipper_tf.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/waterfowl.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/40/waterfowl.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/zaphod_lite.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/berylline.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/30/hummingbird.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ble_chiffre.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ble_chiffre.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/boardsource5x12.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/60/preonic.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/corne-ish_zen_left.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/corne-ish_zen_right.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/elephant42.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/elephant42.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/ergotravel.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/54/ergotravel.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/gatoraid40.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/40/gatoraid40.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/hillside48.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/48/hillside48.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/hummingbird.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/30/hummingbird.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/klacker_bs.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/53/klacker_bs.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/native_posix_64.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/36/minidox.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/pinkiesout.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/66/pinkiesout.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/technikable.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/44/technikable.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/splitkb_aurora_corne.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /config/splitkb_aurora_sweep.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/34/ferris.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/absolem: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=mrzealot/zmk-config 5 | outboard_ref=master 6 | outboard_from=/ 7 | outboard_to=boards/shields/absolem 8 | -------------------------------------------------------------------------------- /config/dactyl_manuform_4x5.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/46/dactyl_manuform_4x5.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/breeze: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=idan/zmk 5 | outboard_ref=breeze 6 | outboard_from=app/boards/shields/breeze 7 | outboard_to=boards/shields/breeze 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/zaphod: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=petejohanson/zaphod-config 5 | outboard_ref=main 6 | outboard_from=boards/arm/zaphod 7 | outboard_to=boards/arm/zaphod 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/bat43: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=dnaq/zmk 5 | outboard_ref=bat43-keymap 6 | outboard_from=app/boards/shields/bat43 7 | outboard_to=boards/shields/bat43 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/contra: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=iangus/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/contra 7 | outboard_to=boards/shields/contra 8 | 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/xmk: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=manna-harbour/xmk 5 | outboard_ref=main 6 | outboard_from=zmk-config/boards/shields/xmk 7 | outboard_to=boards/shields/xmk 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/adv360pro: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=ReFil/zmk 5 | outboard_ref=advantage360 6 | outboard_from=app/boards/arm/adv360pro 7 | outboard_to=boards/arm/adv360pro 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/one42: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=cyril279/zmk-config-one42 5 | outboard_ref=main 6 | outboard_from=config/boards/arm/one42 7 | outboard_to=boards/arm/one42 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/preonic_rev3: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=shurikai/zmk 5 | outboard_ref=add_preonic 6 | outboard_from=app/boards/arm/preonic 7 | outboard_to=boards/arm/preonic 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/bastyl: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=mseflek/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/bastyl 7 | outboard_to=boards/shields/bastyl 8 | 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/chocv: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=brickbots/chocV 5 | outboard_ref=main 6 | outboard_from=zmk_config/boards/shields/chocv 7 | outboard_to=boards/shields/chocv 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/ergodash: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=Eyenseo/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/ergodash 7 | outboard_to=boards/shields/ergodash 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/ffkb: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-ffkb 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/ffkb 7 | outboard_to=boards/shields/ffkb 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/klacker_bs: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=weteor/Klacker_BS-Config 5 | outboard_ref=main 6 | outboard_from=boards/arm/klacker_bs 7 | outboard_to=boards/arm/klacker_bs 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/arch36: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=https://git.sr.ht/~hwrd/zmk-config 5 | outboard_ref=main 6 | outboard_from=boards/arch36 7 | outboard_to=boards/shields/arch36 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/draculad: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=MangoIV/zmk 5 | outboard_ref=draculad 6 | outboard_from=app/boards/shields/draculad 7 | outboard_to=boards/shields/draculad 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/gatoraid40: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=freya-irl/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/gatoraid40 7 | outboard_to=boards/shields/gatoraid40 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/humla: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=smores56/zmk-config-humla 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/humla 7 | outboard_to=boards/shields/humla 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/levinson: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=blistergeist/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/levinson 7 | outboard_to=boards/shields/levinson 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/luna: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=mindhatch/zmk-config-luna 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/luna 7 | outboard_to=boards/shields/luna 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/rebound_v4: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=PippinW/zmk 5 | outboard_ref=rebound4 6 | outboard_from=app/boards/shields/rebound 7 | outboard_to=boards/shields/rebound 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/tightyl: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=MvEerd/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/tightyl 7 | outboard_to=boards/shields/tightyl 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/urchin: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=duckyb/zmk-urchin 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/urchin 7 | outboard_to=boards/shields/urchin 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/viterbi: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=TheRealFenrir/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/viterbi 7 | outboard_to=boards/shields/viterbi 8 | 9 | -------------------------------------------------------------------------------- /config/microdox.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 5 | 6 | #include "../miryoku/custom_config.h" 7 | #include "../miryoku/mapping/36/minidox.h" 8 | #include "../miryoku/miryoku.dtsi" 9 | -------------------------------------------------------------------------------- /config/rollow.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 5 | 6 | #include "../miryoku/custom_config.h" 7 | #include "../miryoku/mapping/42/corne.h" 8 | #include "../miryoku/miryoku.dtsi" 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/berylline: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=jcmkk3/zmk-config 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/berylline 7 | outboard_to=boards/shields/berylline 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/dilemma: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=0xcharly/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/dilemma 7 | outboard_to=boards/shields/dilemma 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/horizon: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=skarrmann/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/horizon 7 | outboard_to=boards/shields/horizon 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/klor: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=GEIGEIGEIST/zmk-config-klor 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/klor 7 | outboard_to=boards/shields/klor 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/klotz: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=GEIGEIGEIST/zmk-config-klotz 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/klotz 7 | outboard_to=boards/shields/klotz 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/reviung39: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=jshreynolds/zmk 5 | outboard_ref=main 6 | outboard_from=app/boards/shields/reviung39 7 | outboard_to=boards/shields/reviung39 8 | 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/rockon: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-rockon 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/rockon 7 | outboard_to=boards/shields/rockon 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/tbkmini: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=cwebster2/zmk-config 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/tbkmini 7 | outboard_to=boards/shields/tbkmini 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/totem: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=GEIGEIGEIST/zmk-config-totem 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/totem 7 | outboard_to=boards/shields/totem 8 | -------------------------------------------------------------------------------- /config/microdox_mod.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2021 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 5 | 6 | #include "../miryoku/custom_config.h" 7 | #include "../miryoku/mapping/36/minidox.h" 8 | #include "../miryoku/miryoku.dtsi" 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/ahokore: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=dezlidezlidezli/ahokore-zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/arm/ahokore 7 | outboard_to=boards/arm/ahokore 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/ble_chiffre: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=tominabox1/zmk-config2 5 | outboard_ref=master 6 | outboard_from=config/boards/arm/ble_chiffre 7 | outboard_to=boards/arm/ble_chiffre 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/corneish_zen_v1: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=caksoylar/zmk 5 | outboard_ref=add-zen-v1 6 | outboard_from=app/boards/arm/corneish_zen 7 | outboard_to=boards/arm/corneish_zen 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/clog_v2: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=smores56/clog-v2-zmk-config 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/clog_v2 7 | outboard_to=boards/shields/clog_v2 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/hillside48: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=mmccoyd/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/hillside48 7 | outboard_to=boards/shields/hillside48 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/rae_dux: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=andrewjrae/zmk-config 5 | outboard_ref=development 6 | outboard_from=config/boards/shields/rae_dux 7 | outboard_to=boards/shields/rae_dux 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/rommana: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=AlaaSaadAbdo/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/rommana 7 | outboard_to=boards/shields/rommana 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/swweeep: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-swweeep 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/swweeep 7 | outboard_to=boards/shields/swweeep 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/ffkb-holyiot: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-ffkb-holyiot 5 | outboard_ref=master 6 | outboard_from=boards/arm/ffkb-holyiot 7 | outboard_to=boards/arm/ffkb-holyiot 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/technikable: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=petejohanson/technikable-zmk-config 5 | outboard_ref=main 6 | outboard_from=boards/arm/technikable 7 | outboard_to=boards/arm/technikable 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/barobord: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-barobord 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/barobord 7 | outboard_to=boards/shields/barobord 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/mano42: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=harshitgoel96/zmk-config-mano42 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/mano42 7 | outboard_to=boards/shields/mano42 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/rollow: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=barbellboards/Rollow-ZMK 5 | outboard_ref=barbellboards/rollow 6 | outboard_from=app/boards/shields/rollow 7 | outboard_to=boards/shields/rollow 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/sofle_rgb: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=gregghz/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/sofle_rgb 7 | outboard_to=boards/shields/sofle_rgb 8 | 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/pinkiesout: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=sadekbaroudi/zmk-pinkiesout 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/pinkiesout 7 | outboard_to=boards/shields/pinkiesout 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/pteron36: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=harshitgoel96/zmk-config-pteron36 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/pteron36 7 | outboard_to=boards/shields/pteron36 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/zaphod_lite: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=petejohanson/zaphod-config 5 | outboard_ref=zaphod-lite 6 | outboard_from=boards/shields/zaphod_lite 7 | outboard_to=boards/shields/zaphod_lite 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/scylla_dmmpcb: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=meln1k/zmk-config 5 | outboard_ref=master 6 | outboard_from=config/boards/shields/scylla_dmmpcb 7 | outboard_to=boards/shields/scylla_dmmpcb 8 | 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/tipper_tf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=weteor/Tipper_TF-Config 5 | outboard_ref=master 6 | outboard_from=boards/arm/tipper_tf 7 | outboard_to=boards/arm/tipper_tf 8 | zmk=weteor/zmk/Tipper_TF_rev2 9 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/tbkmini_adapterv2: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=karrui/zmk-config-skeletyl-v2 5 | outboard_ref=tbkmini-adapterv2 6 | outboard_from=config/boards/shields/tbkmini 7 | outboard_to=boards/shields/tbkmini 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/choc-corne: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=https://github.com/Putitii/zmk-choc_corne 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/haploinsufficient 7 | outboard_to=boards/shields/choc-corne 8 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/ahokore: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | # ahokore v1 (shield) 5 | 6 | outboard_repository=dezlidezlidezli/zmk-config 7 | outboard_ref=master 8 | outboard_from=config/boards/shields/ahokore 9 | outboard_to=boards/shields/ahokore 10 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/dactyl_manuform_4x5: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=nathanielks/zmk 5 | outboard_ref=add-shield-dactyl-manuform-4x5 6 | outboard_from=app/boards/shields/dactyl_manuform_4x5 7 | outboard_to=boards/shields/dactyl_manuform_4x5 8 | -------------------------------------------------------------------------------- /config/corneish_zen.keymap: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include "../miryoku/custom_config.h" 5 | #include "../miryoku/mapping/42/corne.h" 6 | #include "../miryoku/miryoku.dtsi" 7 | 8 | / { 9 | chosen { 10 | zmk,matrix_transform = &default_transform; 11 | }; 12 | }; -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/revxlp: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | outboard_repository=petejohanson/revxlp-config 5 | outboard_ref=main 6 | outboard_from=config/boards/shields/revxlp 7 | outboard_to=boards/shields/revxlp 8 | zmk=petejohanson/zmk/drivers/gpio-595-shift-register 9 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_tapdelay.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_X(CODE, EMPTY) \ 5 | MIRYOKU_TAPDELAY_TAP(CODE##EMPTY) \ 6 | MIRYOKU_TAPDELAY_MT(CODE##EMPTY) \ 7 | MIRYOKU_TAPDELAY_LT(CODE##EMPTY) 8 | 9 | MIRYOKU_TAPDELAY_LIST 10 | 11 | #undef MIRYOKU_X 12 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/microdox_mod: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | # use with board sparkfun_nrf52840_mini 5 | 6 | outboard_repository=abondis/zmk-config 7 | outboard_ref=main 8 | outboard_from=config/boards/shields/microdox_mod 9 | outboard_to=boards/shields/microdox_mod 10 | -------------------------------------------------------------------------------- /config/native_posix_64.conf: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | CONFIG_NATIVE_UART_0_ON_OWN_PTY=y 5 | CONFIG_SERIAL=y 6 | CONFIG_SHELL=y 7 | CONFIG_SHELL_MINIMAL=y 8 | CONFIG_UART_NATIVE_POSIX=y 9 | CONFIG_ZMK_KEYBOARD_NAME="xmk" 10 | CONFIG_ZMK_SHELL_KEY_POSITIONS=y 11 | CONFIG_ZMK_USB=y 12 | -------------------------------------------------------------------------------- /.github/workflows/outboards/boards/sparkfun_nrf52840_mini: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | # use with shield microdox_mod 5 | 6 | outboard_repository=abondis/zmk-config 7 | outboard_ref=main 8 | outboard_from=config/boards/arm/sparkfun_nrf52840_mini 9 | outboard_to=boards/arm/sparkfun_nrf52840_mini 10 | -------------------------------------------------------------------------------- /.github/workflows/build-example-corne-ish_zen.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example corne-ish_zen' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["corne-ish_zen_left","corne-ish_zen_right"]' 12 | -------------------------------------------------------------------------------- /.github/workflows/build-example-tbkmini-nice_nano_v2.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example tbkmini nice_nano_v2' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano_v2"]' 12 | shield: '["tbkmini_left","tbkmini_right"]' 13 | -------------------------------------------------------------------------------- /miryoku/miryoku_mousekeys.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | / { 5 | macros { 6 | ZMK_MACRO(u_macro_btn1, wait-ms = <0>; bindings = <&kp KP_SLASH &kp KP_N5>;) 7 | ZMK_MACRO(u_macro_btn2, wait-ms = <0>; bindings = <&kp KP_MINUS &kp KP_N5>;) 8 | ZMK_MACRO(u_macro_btn3, wait-ms = <0>; bindings = <&kp KP_ASTERISK &kp KP_N5>;) 9 | }; 10 | }; 11 | -------------------------------------------------------------------------------- /.github/workflows/test-build.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test Build' 5 | on: 6 | push: 7 | pull_request: 8 | workflow_dispatch: 9 | jobs: 10 | build: 11 | if: github.repository_owner == 'manna-harbour' 12 | uses: ./.github/workflows/main.yml 13 | secrets: inherit 14 | with: 15 | board: '["nice_nano"]' 16 | shield: '["corne_left"]' 17 | -------------------------------------------------------------------------------- /.github/workflows/build-example-xmk-xmk.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example 𝑥MK xmk' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano_v2"]' 12 | shield: '["xmk"]' 13 | branches: '["zmkfirmware/zmk/main petejohanson/zmk/shell/tap-command"]' 14 | -------------------------------------------------------------------------------- /miryoku/miryoku_mousekeys.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #define U_BTN1 &u_macro_btn1 7 | #define U_BTN2 &u_macro_btn2 8 | #define U_BTN3 &u_macro_btn3 9 | #define U_MS_D &kp KP_N2 10 | #define U_MS_L &kp KP_N4 11 | #define U_MS_R &kp KP_N6 12 | #define U_MS_U &kp KP_N8 13 | #define U_WH_D U_NU 14 | #define U_WH_L U_NU 15 | #define U_WH_R U_NU 16 | #define U_WH_U U_NU 17 | -------------------------------------------------------------------------------- /.github/workflows/build-example-corne-nice_nano-display.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example corne nice_nano display' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano"]' 12 | shield: '["corne_left","corne_right"]' 13 | kconfig: '["CONFIG_ZMK_DISPLAY=y"]' 14 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/ergotravel: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | #outboard_repository=codeincontext/zmk-config 5 | #outboard_ref=master 6 | #outboard_from=config/boards/shields/ergotravel 7 | #outboard_to=boards/shields/ergotravel 8 | 9 | outboard_repository=jchenVT/zmk_ergotravel 10 | outboard_ref=main 11 | outboard_from=config/boards/shields/ergotravel 12 | outboard_to=boards/shields/ergotravel 13 | -------------------------------------------------------------------------------- /.github/workflows/outboards/shields/pockettype: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | # outboard_repository=mcrosson/zmk 5 | # outboard_ref=main 6 | # outboard_from=app/boards/shields/pockettype 7 | # outboard_to=boards/shields/pockettype 8 | 9 | outboard_repository=sfgabe/zmk-config-pockettype 10 | outboard_ref=master 11 | outboard_from=config/boards/shields/pockettype 12 | outboard_to=boards/shields/pockettype 13 | 14 | -------------------------------------------------------------------------------- /.github/workflows/build-example-corne-nice_nano_v2-nice_view.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example corne nice_nano_v2 nice_view' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano_v2"]' 12 | shield: '["corne_left nice_view_adapter nice_view","corne_right nice_view_adapter nice_view"]' 13 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_mousekeyspr.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | &mmv { 5 | acceleration-exponent = ; 6 | time-to-max-speed-ms = ; 7 | delay-ms = ; 8 | }; 9 | 10 | /* 11 | &mwh { 12 | acceleration-exponent = ; 13 | time-to-max-speed-ms = ; 14 | delay-ms = ; 15 | }; 16 | */ 17 | -------------------------------------------------------------------------------- /.github/workflows/test-all-xiao-controllers.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Xiao Controllers' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '[ 13 | "seeeduino_xiao", 14 | "seeeduino_xiao_ble" 15 | ]' 16 | shield: '["hummingbird"]' 17 | -------------------------------------------------------------------------------- /miryoku/miryoku_double_tap_guard.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT) 7 | #if defined (MIRYOKU_KLUDGE_SUSPEND) 8 | #define U_BOOT &u_suspend 9 | #else 10 | #define U_BOOT &u_bootloader 11 | #endif 12 | #else 13 | #if defined (MIRYOKU_KLUDGE_SUSPEND) 14 | #define U_BOOT &suspend 15 | #else 16 | #define U_BOOT &bootloader 17 | #endif 18 | #endif 19 | -------------------------------------------------------------------------------- /.github/workflows/build-example-xmk-native_posix_64.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example 𝑥MK native_posix_64' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["native_posix_64"]' 12 | custom_config: '["#define MIRYOKU_KLUDGE_TAPDELAY"]' 13 | branches: '["zmkfirmware/zmk/main petejohanson/zmk/shell/tap-command"]' 14 | -------------------------------------------------------------------------------- /.github/workflows/build-example-suspend.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example suspend' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano"]' 12 | shield: '["corne_left","corne_right"]' 13 | custom_config: '["#define MIRYOKU_KLUDGE_SUSPEND"]' 14 | branches: '["zmkfirmware/zmk/main manna-harbour/zmk/suspend-test"]' 15 | -------------------------------------------------------------------------------- /.github/workflows/build-example-mousekeyspr.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example mousekeyspr' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '["nice_nano"]' 12 | shield: '["corne_left"]' 13 | custom_config: '["#define MIRYOKU_KLUDGE_MOUSEKEYSPR"]' 14 | kconfig: '["CONFIG_ZMK_MOUSE=y"]' 15 | branches: '["zmkfirmware/zmk/main ftc/zmk/mouse-ftc"]' 16 | -------------------------------------------------------------------------------- /.github/workflows/test-all-promicro-controllers.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Promicro Controllers' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '[ 13 | "bluemicro840_v1", 14 | "mikoto_520", 15 | "nice_nano", 16 | "nice_nano_v2", 17 | "nrfmicro_11", 18 | "nrfmicro_13", 19 | "proton_c" 20 | ]' 21 | shield: '["corne_left"]' 22 | -------------------------------------------------------------------------------- /.github/workflows/test-all-xiao-shields.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Xiao Shields' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '["seeeduino_xiao"]' 13 | shield: '[ 14 | "clog_v2_left","clog_v2_right", 15 | "hummingbird", 16 | "revxlp", 17 | "rommana_left","rommana_right", 18 | "totem_left","totem_right", 19 | "xmk", 20 | "zaphod_lite" 21 | ]' 22 | -------------------------------------------------------------------------------- /miryoku/miryoku_shift_functions.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #if defined (MIRYOKU_KLUDGE_GLOBALSHIFTFUNCTIONS) 7 | #define U_RGB_TOG &u_rgb_tog 8 | #define U_RGB_EFF &u_rgb_eff 9 | #define U_RGB_HUI &u_rgb_hui 10 | #define U_RGB_SAI &u_rgb_sai 11 | #define U_RGB_BRI &u_rgb_bri 12 | #define U_EP_TOG &u_ep_tog 13 | #else 14 | #define U_RGB_TOG &rgb_ug RGB_TOG 15 | #define U_RGB_EFF &rgb_ug RGB_EFF 16 | #define U_RGB_HUI &rgb_ug RGB_HUI 17 | #define U_RGB_SAI &rgb_ug RGB_SAI 18 | #define U_RGB_BRI &rgb_ug RGB_BRI 19 | #define U_EP_TOG &ext_power EP_TOG 20 | #endif 21 | -------------------------------------------------------------------------------- /miryoku/miryoku_behaviors.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | / { 5 | behaviors { 6 | u_mt: u_mt { 7 | compatible = "zmk,behavior-hold-tap"; 8 | label = "u_mt"; 9 | #binding-cells = <2>; 10 | tapping_term_ms = ; 11 | flavor = "tap-preferred"; 12 | bindings = <&kp>, <&kp>; 13 | }; 14 | u_lt: u_lt { 15 | compatible = "zmk,behavior-hold-tap"; 16 | label = "u_lt"; 17 | #binding-cells = <2>; 18 | tapping_term_ms = ; 19 | flavor = "tap-preferred"; 20 | bindings = <&mo>, <&kp>; 21 | }; 22 | }; 23 | }; 24 | -------------------------------------------------------------------------------- /.github/workflows/build-example-corneish_zen-custom.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Example Corne-ish Zen Custom' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | uses: ./.github/workflows/main.yml 9 | secrets: inherit 10 | with: 11 | board: '[ 12 | "corneish_zen_v1_left","corneish_zen_v1_right", 13 | "corneish_zen_v2_left","corneish_zen_v2_right" 14 | ]' 15 | custom_config: '["#define MIRYOKU_KLUDGE_MOUSEKEYSPR"]' 16 | kconfig: '["CONFIG_ZMK_DISPLAY_HIDE_MOMENTARY_LAYERS=y\nCONFIG_CUSTOM_WIDGET_LAYER_STATUS_HIDE_HEADING=y\nCONFIG_CUSTOM_WIDGET_LOGO_IMAGE_MIRYOKU=y\nCONFIG_IL0323_INVERT=y\nCONFIG_ZMK_MOUSE=y"]' 17 | branches: '["zmkfirmware/zmk/main caksoylar/zmk/caksoylar/zen-v1+v2 ftc/zmk/mouse-ftc"]' 18 | -------------------------------------------------------------------------------- /miryoku/mapping/40/waterfowl.h: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_WATERFOWL) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_WATERFOWL( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 15 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 16 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 17 | XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_WATERFOWL 22 | -------------------------------------------------------------------------------- /miryoku/mapping/45/ffkb.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_FFKB) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_FFKB( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 XXX K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | XXX K32 K33 K34 K35 K36 K37 XXX 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_FFKB 22 | -------------------------------------------------------------------------------- /miryoku/mapping/39/reviung39.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_REVIUNG39) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_REVIUNG39( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K32 K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | K34 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K37 \ 16 | K32 K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | K33 K35 K36 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_REVIUNG39 22 | -------------------------------------------------------------------------------- /miryoku/mapping/42/barobord.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_BAROBORD) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_BAROBORD( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 15 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 16 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 17 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX \ 18 | XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BAROBORD 23 | -------------------------------------------------------------------------------- /miryoku/miryoku_babel/miryoku_layer_list.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | // generated -*- buffer-read-only: t -*- 4 | 5 | #pragma once 6 | 7 | #if !defined (MIRYOKU_LAYER_LIST) 8 | 9 | #define MIRYOKU_LAYER_LIST \ 10 | MIRYOKU_X(BASE, "Base") \ 11 | MIRYOKU_X(EXTRA, "Extra") \ 12 | MIRYOKU_X(TAP, "Tap") \ 13 | MIRYOKU_X(BUTTON, "Button") \ 14 | MIRYOKU_X(NAV, "Nav") \ 15 | MIRYOKU_X(MOUSE, "Mouse") \ 16 | MIRYOKU_X(MEDIA, "Media") \ 17 | MIRYOKU_X(NUM, "Num") \ 18 | MIRYOKU_X(SYM, "Sym") \ 19 | MIRYOKU_X(FUN, "Fun") 20 | 21 | #define U_BASE 0 22 | #define U_EXTRA 1 23 | #define U_TAP 2 24 | #define U_BUTTON 3 25 | #define U_NAV 4 26 | #define U_MOUSE 5 27 | #define U_MEDIA 6 28 | #define U_NUM 7 29 | #define U_SYM 8 30 | #define U_FUN 9 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /miryoku/miryoku_double_tap_guard.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_DOUBLE_TAP_GUARD(NAME, BINDING) \ 5 | / { \ 6 | behaviors { \ 7 | NAME: NAME { \ 8 | compatible = "zmk,behavior-tap-dance"; \ 9 | label = U_STRINGIFY(NAME); \ 10 | #binding-cells = <0>; \ 11 | tapping-term-ms = ; \ 12 | bindings = <&none>, ; \ 13 | }; \ 14 | }; \ 15 | }; 16 | 17 | #define MIRYOKU_X(LAYER, STRING) \ 18 | MIRYOKU_DOUBLE_TAP_GUARD(u_to_U_##LAYER, &to U_##LAYER) 19 | MIRYOKU_LAYER_LIST 20 | #undef MIRYOKU_X 21 | 22 | #if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT) 23 | #if defined (MIRYOKU_KLUDGE_SUSPEND) 24 | MIRYOKU_DOUBLE_TAP_GUARD(u_suspend, &suspend) 25 | #else 26 | MIRYOKU_DOUBLE_TAP_GUARD(u_bootloader, &bootloader) 27 | #endif 28 | #endif 29 | -------------------------------------------------------------------------------- /miryoku/mapping/48/bat43.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_BAT43) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_BAT43( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 XXX K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | K32 K33 K34 K35 K36 K37 \ 18 | XXX XXX XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BAT43 23 | -------------------------------------------------------------------------------- /miryoku/miryoku_clipboard.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #if defined (MIRYOKU_CLIPBOARD_FUN) 7 | #define U_RDO &kp K_AGAIN 8 | #define U_PST &kp K_PASTE 9 | #define U_CPY &kp K_COPY 10 | #define U_CUT &kp K_CUT 11 | #define U_UND &kp K_UNDO 12 | #elif defined (MIRYOKU_CLIPBOARD_MAC) 13 | #define U_RDO &kp LS(LG(Z)) 14 | #define U_PST &kp LG(V) 15 | #define U_CPY &kp LG(C) 16 | #define U_CUT &kp LG(X) 17 | #define U_UND &kp LG(Z) 18 | #elif defined (MIRYOKU_CLIPBOARD_WIN) 19 | #define U_RDO &kp LC(Y) 20 | #define U_PST &kp LC(V) 21 | #define U_CPY &kp LC(C) 22 | #define U_CUT &kp LC(X) 23 | #define U_UND &kp LC(Z) 24 | #else 25 | #define U_RDO &kp K_AGAIN 26 | #define U_PST &kp LS(INS) 27 | #define U_CPY &kp LC(INS) 28 | #define U_CUT &kp LS(DEL) 29 | #define U_UND &kp K_UNDO 30 | #endif 31 | -------------------------------------------------------------------------------- /miryoku/mapping/34/ferris.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_FERRIS) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_FERRIS( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 13 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 14 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 15 | K33 K34 K35 K36 16 | 17 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 30 31 18 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 32 33 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 21 | 22 | #endif 23 | 24 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_FERRIS 25 | -------------------------------------------------------------------------------- /miryoku/mapping/44/klor.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_KLOR) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_KLOR( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 15 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 17 | K32 K33 K34 XXX XXX K35 K36 K37 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_KLOR 22 | -------------------------------------------------------------------------------- /miryoku/mapping/46/tightyl.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_TIGHTYL) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_TIGHTYL( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_TIGHTYL 22 | -------------------------------------------------------------------------------- /miryoku/mapping/34/ble_chiffre.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 13 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 14 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 15 | K34 K33 K36 K35 16 | 17 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 30 31 18 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 32 33 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 21 | 22 | #endif 23 | 24 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BLE_CHIFFRE 25 | -------------------------------------------------------------------------------- /miryoku/mapping/38/totem.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_TOTEM) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_TOTEM( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 15 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 16 | K00 K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 K09 \ 17 | K32 K33 K34 K35 K36 K37 18 | 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 33 34 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 35 36 21 | 22 | #endif 23 | 24 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_TOTEM 25 | -------------------------------------------------------------------------------- /miryoku/mapping/63/rebound.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_REBOUND) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_REBOUND(\ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 16 | K10 K11 K12 K13 K14 XXX XXX XXX K15 K16 K17 K18 K19 \ 17 | K20 K21 K22 K23 K24 XXX XXX XXX K25 K26 K27 K28 K29 \ 18 | XXX XXX XXX K32 K33 K34 XXX K35 K36 K37 XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_REBOUND 23 | -------------------------------------------------------------------------------- /miryoku/miryoku.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #include "miryoku_babel/miryoku_layer_selection.h" 7 | #include "miryoku_babel/miryoku_layer_list.h" 8 | 9 | #define U_MACRO_VA_ARGS(macro, ...) macro(__VA_ARGS__) 10 | #define U_STRINGIFY(x) #x 11 | 12 | #define U_NP &none // key is not present 13 | #define U_NA &none // present but not available for use 14 | #define U_NU &none // available but not used 15 | 16 | #define U_TAPPING_TERM 200 17 | 18 | #include "miryoku_clipboard.h" 19 | 20 | #include "miryoku_double_tap_guard.h" 21 | 22 | #include "miryoku_shift_functions.h" 23 | 24 | #if defined (MIRYOKU_KLUDGE_MOUSEKEYSPR) 25 | #include "miryoku_kludge_mousekeyspr.h" 26 | #else 27 | #include "miryoku_mousekeys.h" 28 | #endif 29 | 30 | #if defined (MIRYOKU_KLUDGE_TAPDELAY) 31 | #include "miryoku_kludge_tapdelay.h" 32 | #else 33 | #include "miryoku_behaviors.h" 34 | #endif 35 | -------------------------------------------------------------------------------- /.github/workflows/test-all-configs.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Configs' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '["nice_nano"]' 13 | shield: '["corne_left"]' 14 | alphas: '[ 15 | "default", 16 | "azerty", 17 | "beakl15", 18 | "colemak", 19 | "colemakdhk", 20 | "dvorak", 21 | "halmak", 22 | "qwerty", 23 | "qwertz", 24 | "workman" 25 | ]' 26 | nav: '[ 27 | "default", 28 | "invertedt", 29 | "vi" 30 | ]' 31 | clipboard: '[ 32 | "default", 33 | "fun", 34 | "mac", 35 | "win" 36 | ]' 37 | layers: '[ 38 | "default", 39 | "flip" 40 | ]' 41 | -------------------------------------------------------------------------------- /miryoku/mapping/40/gatoraid40.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_GATORAID40) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_GATORAID40( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 16 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 17 | K32 K33 K34 K35 K36 K37 18 | 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 35 36 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 37 38 21 | 22 | #endif 23 | 24 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_GATORAID40 25 | -------------------------------------------------------------------------------- /miryoku/mapping/54/ergotravel.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ERGOTRAVEL) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_ERGOTRAVEL(\ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 17 | XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX 18 | 19 | #endif 20 | 21 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ERGOTRAVEL 22 | -------------------------------------------------------------------------------- /.github/workflows/test-all-boards.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Boards' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '[ 13 | "adv360pro_left","adv360pro_right", 14 | "ahokore", 15 | "ble_chiffre", 16 | "corne-ish_zen_left","corne-ish_zen_right", 17 | "corneish_zen_v1_left","corneish_zen_v1_right", 18 | "corneish_zen_v2_left","corneish_zen_v2_right", 19 | "ferris_rev02", 20 | "ffkb-holyiot", 21 | "glove80_lh","glove80_rh", 22 | "klacker_bs", 23 | "native_posix_64", 24 | "nice60", 25 | "one42", 26 | "planck_rev6", 27 | "preonic_rev3", 28 | "technikable", 29 | "tipper_tf", 30 | "zaphod" 31 | ]' 32 | 33 | -------------------------------------------------------------------------------- /miryoku/mapping/44/jian.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_JIAN) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_JIAN( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX XXX \ 15 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | K32 K33 K34 K35 K36 K37 18 | 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 39 40 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 41 42 21 | 22 | #endif 23 | 24 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_JIAN 25 | -------------------------------------------------------------------------------- /miryoku/mapping/58/leeloo.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_LEELOO) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_LEELOO( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 18 | XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_LEELOO 23 | -------------------------------------------------------------------------------- /miryoku/mapping/66/pinkiesout.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_PINKIESOUT) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_PINKIESOUT( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_PINKIESOUT 23 | -------------------------------------------------------------------------------- /miryoku/mapping/66/breeze.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_BREEZE) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_BREEZE( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX XXX XXX XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX XXX \ 17 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX XXX XXX XXX \ 18 | XXX K32 K33 K34 K35 K36 K37 XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BREEZE 23 | -------------------------------------------------------------------------------- /miryoku/mapping/56/jiran.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_JIRAN) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_JIRAN( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 18 | K32 K33 K34 K35 K36 K37 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 51 52 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 53 54 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_JIRAN 26 | -------------------------------------------------------------------------------- /miryoku/mapping/56/iris.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_IRIS) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_IRIS( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | K32 K33 K34 K35 K36 K37 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 51 52 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 53 54 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_IRIS 26 | -------------------------------------------------------------------------------- /miryoku/mapping/70/redox.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_REDOX) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_REDOX( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_REDOX 23 | -------------------------------------------------------------------------------- /miryoku/mapping/58/lily58.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_LILY58) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_LILY58( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX K32 K33 K34 K35 K36 K37 XXX 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 52 53 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 54 55 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_LILY58 26 | -------------------------------------------------------------------------------- /miryoku/mapping/60/lotus58.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_LOTUS58) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_LOTUS58( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX K32 K33 K34 K35 K36 K37 XXX 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 54 55 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 56 57 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_LOTUS58 26 | -------------------------------------------------------------------------------- /miryoku/mapping/60/sofle.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_SOFLE) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_SOFLE( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 53 54 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 55 56 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_SOFLE 26 | -------------------------------------------------------------------------------- /miryoku/mapping/70/ergodash.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ERGODASH) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_ERGODASH( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ERGODASH 23 | -------------------------------------------------------------------------------- /miryoku/mapping/70/zodiark.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ZODIARK) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_ZODIARK( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ZODIARK 23 | -------------------------------------------------------------------------------- /miryoku/mapping/64/helix.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_HELIX) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_HELIX( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 55 56 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 57 58 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_HELIX 26 | -------------------------------------------------------------------------------- /miryoku/mapping/53/klacker_bs.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_KLACKER_BS) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_KLACKER_BS( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX XXX XXX \ 15 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX XXX XXX \ 16 | K20 K21 K22 K23 K24 XXX K25 K26 K27 K28 K29 XXX XXX XXX \ 17 | XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 18 | K33 K34 K35 K36 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 49 50 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 51 52 22 | 23 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 24 | 25 | #endif 26 | 27 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_KLACKER_BS 28 | -------------------------------------------------------------------------------- /miryoku/mapping/62/atreus.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ATREUS) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_ATREUS( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 19 | 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 53 54 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 55 56 22 | 23 | #endif 24 | 25 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ATREUS 26 | -------------------------------------------------------------------------------- /miryoku/mapping/46/dactyl_manuform_4x5.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_DACTYL_MANUFORM_4X5) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_DACTYL_MANUFORM_4X5( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 15 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 16 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 17 | XXX XXX XXX XXX \ 18 | K32 K33 K36 K37 \ 19 | K34 XXX XXX K35 \ 20 | XXX XXX XXX XXX 21 | #endif 22 | 23 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_DACTYL_MANUFORM_4X5 24 | -------------------------------------------------------------------------------- /miryoku/mapping/58/bastyl.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_BASTYL) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_BASTYL( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 18 | K32 K33 K34 K35 K36 K37 \ 19 | XXX XXX XXX XXX 20 | 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 49 50 22 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 51 52 23 | 24 | #endif 25 | 26 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_BASTYL 27 | -------------------------------------------------------------------------------- /miryoku/mapping/34/osprette.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_OSPRETTE) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_OSPRETTE( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K01 K02 K03 K04 K05 K06 K07 K08 \ 13 | K00 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K09 \ 14 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 15 | K33 K34 K35 K36 16 | 17 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 0 1 18 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 1 2 19 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 5 6 20 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 6 7 21 | 22 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 30 31 23 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 32 33 24 | 25 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 26 | 27 | #endif 28 | 29 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_OSPRETTE 30 | -------------------------------------------------------------------------------- /miryoku/mapping/36/clog_v2.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_CLOG_V2) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_CLOG_V2( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K01 K02 K03 K04 K05 K06 K07 K08 \ 13 | K00 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K09 \ 14 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 15 | K32 K33 K34 K35 K36 K37 16 | 17 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 0 1 18 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 1 2 19 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 5 6 20 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 6 7 21 | 22 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 31 32 23 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 33 34 24 | 25 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 26 | 27 | #endif 28 | 29 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_CLOG_V2 30 | -------------------------------------------------------------------------------- /miryoku/mapping/80/glove80.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_GLOVE80) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_GLOVE80( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 16 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 17 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 18 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 19 | XXX XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX XXX 20 | 21 | #endif 22 | 23 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_GLOVE80 24 | -------------------------------------------------------------------------------- /miryoku/mapping/36/minidox.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_MINIDOX) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_MINIDOX( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 13 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 14 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 15 | K32 K33 K34 K35 K36 K37 16 | 17 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 1 2 18 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 2 3 19 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 6 7 20 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 7 8 21 | 22 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 21 22 23 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 22 23 24 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 26 27 25 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 27 28 26 | 27 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 31 32 28 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 33 34 29 | 30 | 31 | #endif 32 | 33 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_MINIDOX 34 | -------------------------------------------------------------------------------- /miryoku/mapping/82/adv360.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ADV360) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_ADV360( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 15 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 XXX XXX XXX XXX XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX XXX 19 | 20 | #endif 21 | 22 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ADV360 23 | -------------------------------------------------------------------------------- /miryoku/mapping/42/corne.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_CORNE) 5 | 6 | #define XXX &none 7 | 8 | #define MIRYOKU_LAYOUTMAPPING_CORNE( \ 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 12 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 13 | ) \ 14 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 15 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 16 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 17 | K32 K33 K34 K35 K36 K37 18 | 19 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 2 3 20 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 3 4 21 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 7 8 22 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 8 9 23 | 24 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 26 27 25 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 27 28 26 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 31 32 27 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 32 33 28 | 29 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 37 38 30 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 39 40 31 | 32 | 33 | #endif 34 | 35 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_CORNE 36 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_mousekeyspr.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #include 7 | 8 | #define U_MOUSE_MOVE_MAX 1250 9 | #define U_MOUSE_MOVE_EXPONENT 1 10 | #define U_MOUSE_MOVE_TIME 1500 11 | #define U_MOUSE_MOVE_DELAY 0 12 | #define U_MOUSE_SCROLL_MAX 100 13 | #define U_MOUSE_SCROLL_EXPONENT 1 14 | #define U_MOUSE_SCROLL_TIME 5000 15 | #define U_MOUSE_SCROLL_DELAY 0 16 | 17 | #undef MOVE_UP 18 | #undef MOVE_DOWN 19 | #undef MOVE_LEFT 20 | #undef MOVE_RIGHT 21 | #undef SCROLL_UP 22 | #undef SCROLL_DOWN 23 | #undef SCROLL_LEFT 24 | #undef SCROLL_RIGHT 25 | #define MOVE_UP MOVE_VERT(-U_MOUSE_MOVE_MAX) 26 | #define MOVE_DOWN MOVE_VERT(U_MOUSE_MOVE_MAX) 27 | #define MOVE_LEFT MOVE_HOR(-U_MOUSE_MOVE_MAX) 28 | #define MOVE_RIGHT MOVE_HOR(U_MOUSE_MOVE_MAX) 29 | #define SCROLL_UP SCROLL_VERT(U_MOUSE_SCROLL_MAX) 30 | #define SCROLL_DOWN SCROLL_VERT(-U_MOUSE_SCROLL_MAX) 31 | #define SCROLL_LEFT SCROLL_HOR(-U_MOUSE_SCROLL_MAX) 32 | #define SCROLL_RIGHT SCROLL_HOR(U_MOUSE_SCROLL_MAX) 33 | 34 | #define U_BTN1 &mkp MB1 35 | #define U_BTN2 &mkp MB2 36 | #define U_BTN3 &mkp MB3 37 | #define U_MS_D &mmv MOVE_DOWN 38 | #define U_MS_L &mmv MOVE_LEFT 39 | #define U_MS_R &mmv MOVE_RIGHT 40 | #define U_MS_U &mmv MOVE_UP 41 | #define U_WH_D &mwh SCROLL_DOWN 42 | #define U_WH_L &mwh SCROLL_LEFT 43 | #define U_WH_R &mwh SCROLL_RIGHT 44 | #define U_WH_U &mwh SCROLL_UP 45 | -------------------------------------------------------------------------------- /miryoku/mapping/30/hummingbird.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_HUMMINGBIRD) 5 | 6 | #define MIRYOKU_LAYOUTMAPPING_HUMMINGBIRD( \ 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 10 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 11 | ) \ 12 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 13 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 14 | K21 K22 K23 K26 K27 K28 \ 15 | K33 K34 K35 K36 16 | 17 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTPINKIE 1 2 18 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_LEFTINNERINDEX 2 3 19 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTINNERINDEX 6 7 20 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_RIGHTPINKIE 7 8 21 | 22 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 20 21 23 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 21 22 24 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 23 24 25 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 24 25 26 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS 27 | 28 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 26 27 29 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 28 29 30 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 31 | 32 | #endif 33 | 34 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_HUMMINGBIRD 35 | -------------------------------------------------------------------------------- /miryoku/miryoku.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | #include "miryoku.h" 12 | 13 | / { 14 | keymap { 15 | compatible = "zmk,keymap"; 16 | #define MIRYOKU_X(LAYER, STRING) \ 17 | U_##LAYER## { \ 18 | label = STRING; \ 19 | bindings = < U_MACRO_VA_ARGS(MIRYOKU_LAYERMAPPING_##LAYER, MIRYOKU_LAYER_##LAYER) >; \ 20 | }; 21 | MIRYOKU_LAYER_LIST 22 | #undef MIRYOKU_X 23 | }; 24 | }; 25 | 26 | #include "miryoku_shift_functions.dtsi" 27 | 28 | #include "miryoku_double_tap_guard.dtsi" 29 | 30 | #if defined (MIRYOKU_KLUDGE_MOUSEKEYSPR) 31 | #include "miryoku_kludge_mousekeyspr.dtsi" 32 | #else 33 | #include "miryoku_mousekeys.dtsi" 34 | #endif 35 | 36 | #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS) 37 | #include "miryoku_kludge_thumbcombos.dtsi" 38 | #endif 39 | 40 | #if defined (MIRYOKU_KLUDGE_TOPROWCOMBOS) 41 | #include "miryoku_kludge_toprowcombos.dtsi" 42 | #endif 43 | 44 | #if defined (MIRYOKU_KLUDGE_BOTTOMROWCOMBOS) 45 | #include "miryoku_kludge_bottomrowcombos.dtsi" 46 | #endif 47 | 48 | #if defined (MIRYOKU_KLUDGE_TAPDELAY) 49 | #include "miryoku_kludge_tapdelay.dtsi" 50 | #else 51 | #include "miryoku_behaviors.dtsi" 52 | #endif 53 | -------------------------------------------------------------------------------- /miryoku/mapping/48/planck.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_PLANCK) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_PLANCK(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 16 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 17 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 18 | XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX 19 | #else 20 | #define MIRYOKU_LAYOUTMAPPING_PLANCK(\ 21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 23 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 24 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 25 | ) \ 26 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 27 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 28 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 29 | XXX XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX XXX 30 | #endif 31 | 32 | #endif 33 | 34 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_PLANCK 35 | -------------------------------------------------------------------------------- /miryoku/mapping/48/lets_split.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_LETS_SPLIT) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_PINKIE_STAGGER 9 | #define MIRYOKU_LAYOUTMAPPING_LETS_SPLIT(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | XXX K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 XXX \ 16 | K00 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K09 \ 17 | K10 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K19 \ 18 | K20 XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX K29 19 | #else 20 | #define MIRYOKU_LAYOUTMAPPING_LETS_SPLIT(\ 21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 23 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 24 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 25 | ) \ 26 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 27 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 28 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 29 | XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX 30 | #endif 31 | 32 | #endif 33 | 34 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_LETS_SPLIT 35 | -------------------------------------------------------------------------------- /miryoku/mapping/60/preonic.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_PREONIC) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_PREONIC(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 16 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 17 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 18 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 19 | XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX 20 | #else 21 | #define MIRYOKU_LAYOUTMAPPING_PREONIC(\ 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 24 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 25 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 26 | ) \ 27 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 28 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 29 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 30 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 31 | XXX XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX XXX 32 | #endif 33 | 34 | #endif 35 | 36 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_PREONIC 37 | -------------------------------------------------------------------------------- /miryoku/mapping/52/horizon.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_HORIZON) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_HORIZON(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 16 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 17 | K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 \ 18 | XXX XXX XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX XXX XXX 19 | #else 20 | #define MIRYOKU_LAYOUTMAPPING_HORIZON(\ 21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 23 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 24 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 25 | ) \ 26 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 27 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 28 | K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 \ 29 | XXX XXX K32 K33 K34 XXX XXX XXX XXX K35 K36 K37 XXX XXX 30 | #endif 31 | 32 | #endif 33 | 34 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_HORIZON 35 | -------------------------------------------------------------------------------- /miryoku/mapping/41/reviung41.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_REVIUNG41) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_LAYERS_FLIP 9 | 10 | #define MIRYOKU_LAYOUTMAPPING_REVIUNG41( \ 11 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 12 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 13 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 14 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 15 | ) \ 16 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 K36 \ 17 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K37 \ 18 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 K35 \ 19 | K32 K33 K34 K36 K35 20 | 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 39 40 22 | 23 | #else 24 | 25 | #define MIRYOKU_LAYOUTMAPPING_REVIUNG41( \ 26 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 27 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 28 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 29 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 30 | ) \ 31 | K33 K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 32 | K32 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 33 | K34 K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 34 | K34 K33 K35 K36 K37 35 | 36 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 36 37 37 | 38 | #endif 39 | 40 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 41 | 42 | #endif 43 | 44 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_REVIUNG41 45 | -------------------------------------------------------------------------------- /miryoku/mapping/60/naked60.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_NAKED60) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_NAKED60(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 16 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 17 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 18 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 19 | XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX 20 | #else 21 | #define MIRYOKU_LAYOUTMAPPING_NAKED60(\ 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 24 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 25 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 26 | ) \ 27 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 28 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 29 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 30 | XXX K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 XXX \ 31 | XXX XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX XXX 32 | #endif 33 | 34 | #endif 35 | 36 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_NAKED60 37 | -------------------------------------------------------------------------------- /miryoku/miryoku_shift_functions.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_SHIFT_FUNCTION(NAME, BINDING, SHIFT_BINDING) \ 5 | / { \ 6 | behaviors { \ 7 | NAME: NAME { \ 8 | compatible = "zmk,behavior-mod-morph"; \ 9 | label = U_STRINGIFY(NAME); \ 10 | #binding-cells = <0>; \ 11 | bindings = , ; \ 12 | mods = <(MOD_LSFT|MOD_RSFT)>; \ 13 | }; \ 14 | }; \ 15 | }; 16 | 17 | #define MIRYOKU_SHIFT_MACRO(NAME, BINDING, SHIFT_BINDING) \ 18 | / { \ 19 | macros { \ 20 | ZMK_MACRO(u_macro_ ## NAME, wait-ms = <0>; bindings = ;) \ 21 | }; \ 22 | }; \ 23 | MIRYOKU_SHIFT_FUNCTION(NAME, BINDING, &u_macro_ ## NAME) 24 | 25 | MIRYOKU_SHIFT_MACRO(u_bt_sel_0, &bt BT_SEL 0, &bt BT_SEL 0 &bt BT_CLR) 26 | MIRYOKU_SHIFT_MACRO(u_bt_sel_1, &bt BT_SEL 1, &bt BT_SEL 1 &bt BT_CLR) 27 | MIRYOKU_SHIFT_MACRO(u_bt_sel_2, &bt BT_SEL 2, &bt BT_SEL 2 &bt BT_CLR) 28 | MIRYOKU_SHIFT_MACRO(u_bt_sel_3, &bt BT_SEL 3, &bt BT_SEL 3 &bt BT_CLR) 29 | MIRYOKU_SHIFT_MACRO(u_bt_sel_4, &bt BT_SEL 4, &bt BT_SEL 4 &bt BT_CLR) 30 | 31 | MIRYOKU_SHIFT_FUNCTION(u_out_tog, &out OUT_TOG, &out OUT_USB) 32 | 33 | MIRYOKU_SHIFT_FUNCTION(u_caps_word, &caps_word, &kp CAPS) 34 | 35 | #if defined (MIRYOKU_KLUDGE_GLOBALSHIFTFUNCTIONS) 36 | 37 | MIRYOKU_SHIFT_FUNCTION(u_rgb_tog, &rgb_ug RGB_TOG, &rgb_ug RGB_OFF) 38 | 39 | MIRYOKU_SHIFT_FUNCTION(u_rgb_eff, &rgb_ug RGB_EFF, &rgb_ug RGB_EFR) 40 | MIRYOKU_SHIFT_FUNCTION(u_rgb_hui, &rgb_ug RGB_HUI, &rgb_ug RGB_HUD) 41 | MIRYOKU_SHIFT_FUNCTION(u_rgb_sai, &rgb_ug RGB_SAI, &rgb_ug RGB_SAD) 42 | MIRYOKU_SHIFT_FUNCTION(u_rgb_bri, &rgb_ug RGB_BRI, &rgb_ug RGB_BRD) 43 | 44 | MIRYOKU_SHIFT_FUNCTION(u_ep_tog, &ext_power EP_TOG, &ext_power EP_OFF) 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /miryoku/mapping/42/mano42.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_MANO42) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | 10 | #define MIRYOKU_LAYOUTMAPPING_MANO42( \ 11 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 12 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 13 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 14 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 15 | ) \ 16 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 17 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 18 | K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 \ 19 | XXX K32 K33 K34 K35 K36 K37 XXX 20 | 21 | #else 22 | 23 | #define MIRYOKU_LAYOUTMAPPING_MANO42( \ 24 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 25 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 26 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 27 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 28 | ) \ 29 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 30 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 31 | K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 \ 32 | K32 K33 K34 XXX XXX K35 K36 K37 33 | 34 | #endif 35 | 36 | #endif 37 | 38 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_MANO42 39 | -------------------------------------------------------------------------------- /miryoku/mapping/70/viterbi.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_VITERBI) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_PINKIE_STAGGER 9 | #define MIRYOKU_LAYOUTMAPPING_VITERBI( \ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 16 | XXX XXX K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 XXX XXX \ 17 | XXX K00 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K09 XXX \ 18 | XXX K10 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K19 XXX \ 19 | XXX K20 XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX K29 XXX 20 | #else 21 | #define MIRYOKU_LAYOUTMAPPING_VITERBI( \ 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 24 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 25 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 26 | ) \ 27 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX \ 28 | XXX K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 XXX \ 29 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 30 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 31 | XXX XXX XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX XXX XXX 32 | #endif 33 | 34 | #endif 35 | 36 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_VITERBI 37 | -------------------------------------------------------------------------------- /miryoku/mapping/42/elephant42.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_ELEPHANT42) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_ELEPHANT42(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | )\ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 18 | XXX K32 K33 K34 K35 K36 K37 XXX 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 37 36 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 38 39 21 | #else 22 | #define MIRYOKU_LAYOUTMAPPING_ELEPHANT42(\ 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 26 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 27 | )\ 28 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 29 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 30 | K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 \ 31 | K32 K33 K34 XXX XXX K35 K36 K37 32 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 35 36 33 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 39 40 34 | #endif 35 | 36 | #endif 37 | 38 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_ELEPHANT42 39 | -------------------------------------------------------------------------------- /miryoku/mapping/50/kyria.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_KYRIA) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_KYRIA(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | )\ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 43 44 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 45 46 21 | #else 22 | #define MIRYOKU_LAYOUTMAPPING_KYRIA(\ 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 26 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 27 | )\ 28 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 29 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 30 | XXX K20 K21 K22 K23 K24 XXX XXX XXX XXX K25 K26 K27 K28 K29 XXX \ 31 | XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX 32 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 42 43 33 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 46 47 34 | #endif 35 | 36 | #endif 37 | 38 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_KYRIA 39 | -------------------------------------------------------------------------------- /miryoku/mapping/48/hillside48.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_HILLSIDE48) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS 9 | #define MIRYOKU_LAYOUTMAPPING_HILLSIDE48(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | )\ 15 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 16 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 17 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 18 | XXX XXX K32 K33 K34 K35 K36 K37 XXX XXX 19 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 41 42 20 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 43 44 21 | #else 22 | #define MIRYOKU_LAYOUTMAPPING_HILLSIDE48(\ 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 26 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 27 | )\ 28 | XXX K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 XXX \ 29 | XXX K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 XXX \ 30 | XXX K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 XXX \ 31 | XXX K32 K33 K34 XXX XXX K35 K36 K37 XXX 32 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 40 41 33 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 44 45 34 | #endif 35 | 36 | #endif 37 | 38 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_HILLSIDE48 39 | -------------------------------------------------------------------------------- /miryoku/mapping/38/draculad.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_DRACULAD) 5 | 6 | #define XXX &none 7 | 8 | #if defined (MIRYOKU_MAPPING_PIM447RIGHT) 9 | 10 | #define MIRYOKU_LAYOUTMAPPING_DRACULAD( \ 11 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 12 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 13 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 14 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 15 | ) \ 16 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 17 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 18 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 19 | K32 K33 K34 XXX K36 K35 20 | 21 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 36 37 22 | 23 | #else 24 | 25 | #define MIRYOKU_LAYOUTMAPPING_DRACULAD( \ 26 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 27 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 28 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 29 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 30 | ) \ 31 | K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 \ 32 | K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 \ 33 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 34 | K32 K33 K34 K35 K36 K37 35 | 36 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT 35 36 37 | #define MIRYOKU_KLUDGE_THUMBCOMBOS 38 | 39 | #endif 40 | 41 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTPINKIE 21 22 42 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_LEFTINNERINDEX 22 23 43 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTINNERINDEX 28 29 44 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_RIGHTPINKIE 29 30 45 | 46 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT 33 34 47 | 48 | #endif 49 | 50 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_DRACULAD 51 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_tapdelay.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #pragma once 5 | 6 | #define MIRYOKU_TAPDELAY_TAP(CODE) \ 7 | / { \ 8 | macros { \ 9 | ZMK_MACRO(u_tapdelay_tap_##CODE, bindings = <¯o_press &kp CODE>, <¯o_release &kp CODE>;) \ 10 | }; \ 11 | }; 12 | 13 | #define MIRYOKU_TAPDELAY_MT(CODE) \ 14 | / { \ 15 | behaviors { \ 16 | u_tapdelay_mt_##CODE: u_tapdelay_mt_##CODE { \ 17 | compatible = "zmk,behavior-hold-tap"; \ 18 | label = U_STRINGIFY(u_tapdelay_mt_##CODE); \ 19 | #binding-cells = <2>; \ 20 | tapping_term_ms = ; \ 21 | flavor = "tap-preferred"; \ 22 | bindings = <&kp>, <&u_tapdelay_tap_##CODE>; \ 23 | }; \ 24 | }; \ 25 | }; 26 | 27 | #define MIRYOKU_TAPDELAY_LT(CODE) \ 28 | / { \ 29 | behaviors { \ 30 | u_tapdelay_lt_##CODE: u_tapdelay_lt_##CODE { \ 31 | compatible = "zmk,behavior-hold-tap"; \ 32 | label = U_STRINGIFY(u_tapdelay_lt_##CODE); \ 33 | #binding-cells = <2>; \ 34 | tapping_term_ms = ; \ 35 | flavor = "tap-preferred"; \ 36 | bindings = <&mo>, <&u_tapdelay_tap_##CODE>; \ 37 | }; \ 38 | }; \ 39 | }; 40 | 41 | #define U_MT(MOD, TAP) &u_tapdelay_mt_##TAP MOD 0 42 | #define U_LT(LAYER, TAP) &u_tapdelay_lt_##TAP LAYER 0 43 | 44 | #define MIRYOKU_TAPDELAY_LIST \ 45 | MIRYOKU_X(A,) \ 46 | MIRYOKU_X(B,) \ 47 | MIRYOKU_X(C,) \ 48 | MIRYOKU_X(D,) \ 49 | MIRYOKU_X(E,) \ 50 | MIRYOKU_X(F,) \ 51 | MIRYOKU_X(G,) \ 52 | MIRYOKU_X(H,) \ 53 | MIRYOKU_X(I,) \ 54 | MIRYOKU_X(J,) \ 55 | MIRYOKU_X(K,) \ 56 | MIRYOKU_X(L,) \ 57 | MIRYOKU_X(M,) \ 58 | MIRYOKU_X(N,) \ 59 | MIRYOKU_X(O,) \ 60 | MIRYOKU_X(P,) \ 61 | MIRYOKU_X(Q,) \ 62 | MIRYOKU_X(R,) \ 63 | MIRYOKU_X(S,) \ 64 | MIRYOKU_X(T,) \ 65 | MIRYOKU_X(U,) \ 66 | MIRYOKU_X(V,) \ 67 | MIRYOKU_X(W,) \ 68 | MIRYOKU_X(X,) \ 69 | MIRYOKU_X(Y,) \ 70 | MIRYOKU_X(Z,) \ 71 | MIRYOKU_X(SQT,) \ 72 | MIRYOKU_X(COMMA,) \ 73 | MIRYOKU_X(DOT,) \ 74 | MIRYOKU_X(SLASH,) \ 75 | MIRYOKU_X(ESC,) \ 76 | MIRYOKU_X(SPC,) \ 77 | MIRYOKU_X(TAB,) \ 78 | MIRYOKU_X(RET,) \ 79 | MIRYOKU_X(BSPC,) \ 80 | MIRYOKU_X(DEL,) 81 | -------------------------------------------------------------------------------- /miryoku/mapping/44/technikable.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_TECHNIKABLE) 5 | 6 | #define XXX &none 7 | 8 | #if defined (MIRYOKU_MAPPING_EXTENDED_THUMBS) 9 | #define MIRYOKU_LAYOUTMAPPING_TECHNIKABLE(\ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 16 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 17 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 18 | XXX K32 K33 K34 K35 K36 K37 XXX 19 | #elif defined (MIRYOKU_MAPPING_2X2U) 20 | #define MIRYOKU_LAYOUTMAPPING_TECHNIKABLE(\ 21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 23 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 24 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 25 | ) \ 26 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 27 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 28 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 29 | K32 K33 K34 K35 K36 K37 30 | #else 31 | #define MIRYOKU_LAYOUTMAPPING_TECHNIKABLE(\ 32 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 33 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 34 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 35 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 36 | ) \ 37 | K00 K01 K02 K03 K04 XXX XXX K05 K06 K07 K08 K09 \ 38 | K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 \ 39 | K20 K21 K22 K23 K24 XXX XXX K25 K26 K27 K28 K29 \ 40 | K32 K33 K34 XXX XXX K35 K36 K37 41 | #endif 42 | 43 | / { 44 | chosen { 45 | zmk,matrix_transform = 46 | #if defined MIRYOKU_MAPPING_2X2U 47 | &dual_2u_transform; 48 | #else 49 | &ortho_transform; 50 | #endif 51 | }; 52 | }; 53 | 54 | #endif 55 | 56 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_TECHNIKABLE 57 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_thumbcombos.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_TERM 200 5 | #define MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(LAYER, POSITION, BINDING) \ 6 | thumbcombos_ ## LAYER ## _ ## POSITION { \ 7 | layers = ; \ 8 | key-positions = ; \ 9 | bindings = ; \ 10 | timeout-ms = ; \ 11 | }; 12 | 13 | / { 14 | combos { 15 | compatible = "zmk,combos"; 16 | #if defined (MIRYOKU_LAYERS_FLIP) 17 | #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT) 18 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BASE, LEFT, < U_FUN DEL) 19 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_EXTRA, LEFT, < U_FUN DEL) 20 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BUTTON, LEFT, U_BTN3) 21 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_NAV, LEFT, &kp DEL) 22 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_MOUSE, LEFT, U_BTN3) 23 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_MEDIA, LEFT, &kp C_MUTE) 24 | #endif 25 | #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT) 26 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BASE, RIGHT, < U_MEDIA ESC) 27 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_EXTRA, RIGHT, < U_MEDIA ESC) 28 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BUTTON, RIGHT, U_BTN3) 29 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_NUM, RIGHT, &kp DOT) 30 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_SYM, RIGHT, &kp RPAR) 31 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_FUN, RIGHT, &kp K_APP) 32 | #endif 33 | #else 34 | #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS_LEFT) 35 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BASE, LEFT, < U_MEDIA ESC) 36 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_EXTRA, LEFT, < U_MEDIA ESC) 37 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BUTTON, LEFT, U_BTN3) 38 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_NUM, LEFT, &kp DOT) 39 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_SYM, LEFT, &kp LPAR) 40 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_FUN, LEFT, &kp K_APP) 41 | #endif 42 | #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS_RIGHT) 43 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BASE, RIGHT, < U_FUN DEL) 44 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_EXTRA, RIGHT, < U_FUN DEL) 45 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_BUTTON, RIGHT, U_BTN3) 46 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_NAV, RIGHT, &kp DEL) 47 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_MOUSE, RIGHT, U_BTN3) 48 | MIRYOKU_KLUDGE_THUMBCOMBOS_MACRO(U_MEDIA, RIGHT, &kp C_MUTE) 49 | #endif 50 | #endif 51 | }; 52 | }; 53 | -------------------------------------------------------------------------------- /.github/workflows/test-all-promicro-shields.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test All Promicro Shields' 5 | on: workflow_dispatch 6 | jobs: 7 | build: 8 | if: github.repository_owner == 'manna-harbour' 9 | uses: ./.github/workflows/main.yml 10 | secrets: inherit 11 | with: 12 | board: '["nice_nano_v2"]' 13 | shield: '[ 14 | "a_dux_left","a_dux_right", 15 | "absolem", 16 | "ahokore", 17 | "arch36_left","arch36_right", 18 | "barobord", 19 | "bastyl_left","bastyl_right", 20 | "bat43", 21 | "berylline_left","berylline_right", 22 | "breeze_left","breeze_right", 23 | "chocv", 24 | "clog_left","clog_right", 25 | "contra", 26 | "corne_left","corne_right", 27 | "cradio_left","cradio_right", 28 | "crbn", 29 | "dactyl_manuform_4x5_left","dactyl_manuform_4x5_right", 30 | "dilemma_left","dilemma_right", 31 | "draculad_left","draculad_right", 32 | "eek", 33 | "elephant42_left","elephant42_right", 34 | "ergodash_left","ergodash_right", 35 | "ergotravel_left","ergotravel_right", 36 | "ffkb", 37 | "gatoraid40", 38 | "choc-corne_left","choc-corne_right", 39 | "helix_left","helix_right", 40 | "hillside48_left","hillside48_right", 41 | "horizon", 42 | "humla", 43 | "iris_left","iris_right", 44 | "jian_left","jian_right", 45 | "jiran_left","jiran_right", 46 | "jorne_left","jorne_right", 47 | "klor_left","klor_right", 48 | "klotz_left","klotz_right", 49 | "kyria_left","kyria_right", 50 | "kyria_rev2_left","kyria_rev2_right", 51 | "leeloo_left","leeloo_right", 52 | "levinson_left","levinson_right", 53 | "lily58_left","lily58_right", 54 | "lotus58_left","lotus58_right", 55 | "luna_left","luna_right", 56 | "mano42_left","mano42_right", 57 | "microdox_left","microdox_right", 58 | "microdox_mod_left","microdox_mod_right", 59 | "naked60", 60 | "osprette", 61 | "pinkiesout", 62 | "pockettype", 63 | "pteron36_left","pteron36_right", 64 | "rae_dux_left","rae_dux_right", 65 | "rebound_v4", 66 | "redox_left","redox_right", 67 | "reviung39", 68 | "reviung41", 69 | "rockon", 70 | "rollow_left","rollow_right", 71 | "scylla_dmmpcb_left","scylla_dmmpcb_right", 72 | "sofle_left","sofle_right", 73 | "sofle_rgb_left","sofle_rgb_right", 74 | "splitkb_aurora_corne_left","splitkb_aurora_corne_right", 75 | "splitkb_aurora_sweep_left","splitkb_aurora_sweep_right", 76 | "splitreus62_left","splitreus62_right", 77 | "swweeep_left","swweeep_right", 78 | "tbkmini_left","tbkmini_right", 79 | "tbkmini_adapterv2_left","tbkmini_adapterv2_right", 80 | "tightyl_left","tightyl_right", 81 | "viterbi_left","viterbi_right", 82 | "waterfowl_left","waterfowl_right", 83 | "xmk", 84 | "zodiark_left","zodiark_right" 85 | ]' 86 | -------------------------------------------------------------------------------- /.github/workflows/test-inputs.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Test Inputs' 5 | on: 6 | workflow_dispatch: 7 | inputs: 8 | board: 9 | description: 'board' 10 | required: true 11 | shield: 12 | description: 'shield' 13 | required: false 14 | default: 'default' 15 | alphas: 16 | description: 'alphas' 17 | required: false 18 | default: 'default' 19 | nav: 20 | description: 'nav' 21 | required: false 22 | default: 'default' 23 | clipboard: 24 | description: 'clipboard' 25 | required: false 26 | default: 'default' 27 | layers: 28 | description: 'layers' 29 | required: false 30 | default: 'default' 31 | mapping: 32 | description: 'mapping' 33 | required: false 34 | default: 'default' 35 | custom_config: 36 | description: 'custom_config' 37 | required: false 38 | default: 'default' 39 | kconfig: 40 | description: 'kconfig' 41 | required: false 42 | default: 'default' 43 | branches: 44 | description: 'branches' 45 | required: false 46 | default: 'default' 47 | jobs: 48 | process-inputs: 49 | runs-on: ubuntu-latest 50 | outputs: 51 | board: ${{ steps.process-inputs.outputs.board }} 52 | shield: ${{ steps.process-inputs.outputs.shield }} 53 | alphas: ${{ steps.process-inputs.outputs.alphas }} 54 | nav: ${{ steps.process-inputs.outputs.nav }} 55 | clipboard: ${{ steps.process-inputs.outputs.clipboard }} 56 | layers: ${{ steps.process-inputs.outputs.layers }} 57 | mapping: ${{ steps.process-inputs.outputs.mapping }} 58 | custom_config: ${{ steps.process-inputs.outputs.custom_config }} 59 | kconfig: ${{ steps.process-inputs.outputs.kconfig }} 60 | branches: ${{ steps.process-inputs.outputs.branches }} 61 | steps: 62 | - name: Process inputs 63 | id: process-inputs 64 | run: | 65 | set-output() 66 | { 67 | json=`echo "$2" | jq -cnR 'inputs | split(",";"")'` 68 | echo "$1=$json" >> $GITHUB_OUTPUT 69 | } 70 | set-output "board" "${{ github.event.inputs.board }}" 71 | set-output "shield" "${{ github.event.inputs.shield }}" 72 | set-output "alphas" "${{ github.event.inputs.alphas }}" 73 | set-output "nav" "${{ github.event.inputs.nav }}" 74 | set-output "clipboard" "${{ github.event.inputs.clipboard }}" 75 | set-output "layers" "${{ github.event.inputs.layers }}" 76 | set-output "mapping" "${{ github.event.inputs.mapping }}" 77 | set-output "custom_config" "${{ github.event.inputs.custom_config }}" 78 | set-output "kconfig" "${{ github.event.inputs.kconfig }}" 79 | set-output "branches" "${{ github.event.inputs.branches }}" 80 | build: 81 | uses: ./.github/workflows/main.yml 82 | secrets: inherit 83 | needs: process-inputs 84 | with: 85 | board: ${{ needs.process-inputs.outputs.board }} 86 | shield: ${{ needs.process-inputs.outputs.shield }} 87 | alphas: ${{ needs.process-inputs.outputs.alphas }} 88 | nav: ${{ needs.process-inputs.outputs.nav }} 89 | clipboard: ${{ needs.process-inputs.outputs.clipboard }} 90 | layers: ${{ needs.process-inputs.outputs.layers }} 91 | mapping: ${{ needs.process-inputs.outputs.mapping }} 92 | custom_config: ${{ needs.process-inputs.outputs.custom_config }} 93 | kconfig: ${{ needs.process-inputs.outputs.kconfig }} 94 | branches: ${{ needs.process-inputs.outputs.branches }} 95 | -------------------------------------------------------------------------------- /miryoku/mapping/61/60_ansi.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #if !defined (MIRYOKU_LAYOUTMAPPING_60_ANSI) 5 | 6 | #define XXX &none 7 | 8 | #if defined MIRYOKU_MAPPING_NOREVERSEANGLE 9 | #define MIRYOKU_LAYOUTMAPPING_60_ANSI( \ 10 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 11 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 12 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 13 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 14 | ) \ 15 | K00 K01 K02 K03 K04 XXX XXX XXX K05 K06 K07 K08 K09 XXX \ 16 | K10 K11 K12 K13 K14 XXX XXX XXX K15 K16 K17 K18 K19 XXX \ 17 | K20 K21 K22 K23 K24 XXX XXX XXX K25 K26 K27 K28 K29 \ 18 | XXX K32 K33 K34 XXX XXX XXX XXX K35 K36 K37 XXX \ 19 | XXX XXX XXX XXX XXX XXX XXX XXX 20 | #elif defined MIRYOKU_MAPPING_LITE 21 | #if defined MIRYOKU_LAYERS_FLIP 22 | #define MIRYOKU_LAYOUTMAPPING_60_ANSI( \ 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 26 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 27 | ) \ 28 | &gresc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC \ 29 | &kp TAB K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 &kp LBKT &kp RBKT &kp BSLH \ 30 | &kp CLCK K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 &kp SEMI &kp RET \ 31 | &kp LSHFT K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 &kp RSHFT \ 32 | &kp LCTRL &kp LGUI &kp LALT K36 &kp RALT &kp RGUI &kp K_APP &kp RCTRL 33 | #else 34 | #define MIRYOKU_LAYOUTMAPPING_60_ANSI( \ 35 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ 36 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ 37 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ 38 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ 39 | ) \ 40 | &gresc &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC \ 41 | &kp TAB K00 K01 K02 K03 K04 K05 K06 K07 K08 K09 &kp LBKT &kp RBKT &kp BSLH \ 42 | &kp CLCK K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 &kp SEMI &kp RET \ 43 | &kp LSHFT K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 &kp RSHFT \ 44 | &kp LCTRL &kp LGUI &kp LALT K33 &kp RALT &kp RGUI &kp K_APP &kp RCTRL 45 | #endif 46 | #else 47 | #define MIRYOKU_LAYOUTMAPPING_60_ANSI(\ 48 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ 49 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ 50 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ 51 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ 52 | )\ 53 | XXX XXX K00 K01 K02 K03 K04 XXX K05 K06 K07 K08 K09 XXX \ 54 | XXX K10 K11 K12 K13 K14 XXX XXX K15 K16 K17 K18 K19 XXX \ 55 | K20 K21 K22 K23 K24 XXX XXX XXX K25 K26 K27 K28 K29 \ 56 | XXX XXX K32 K33 K34 XXX XXX XXX K35 K36 K37 XXX \ 57 | XXX XXX XXX XXX XXX XXX XXX XXX 58 | #endif 59 | 60 | #endif 61 | 62 | #define MIRYOKU_MAPPING MIRYOKU_LAYOUTMAPPING_60_ANSI 63 | -------------------------------------------------------------------------------- /docs/quickstart/readme.org: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | * Miryoku ZMK Quickstart Guide [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/miryoku-roa-32.png]] 5 | 6 | A personalised build of [[https://github.com/manna-harbour/miryoku_zmk][Miryoku ZMK]] can be [[#initial-setup][set up]], [[#build][built]], [[#download][downloaded]], and [[#flash][flashed]] onto your keyboard in a few minutes without installing any software or editing any files. 7 | 8 | 9 | ** Initial Setup 10 | 11 | - [[https://github.com/signup][Create a GitHub account]]. 12 | - [[https://github.com/login][Login to GitHub]]. 13 | - Visit https://github.com/manna-harbour/miryoku_zmk. 14 | - Press the ~Fork~ button in the top right. 15 | #+html: 16 | - Visit https://github.com/?q=miryoku_zmk. 17 | - Select your fork of ~miryoku_zmk~ from the list on the left. 18 | - Select the ~Actions~ tab. 19 | #+html: 20 | - Press the ~I understand my workflows, go ahead and enable them~ button. 21 | 22 | 23 | ** Build 24 | 25 | Start here to build new firmware after completing the [[#initial-setup][initial setup]]. 26 | 27 | - Visit https://github.com/?q=miryoku_zmk. 28 | - Select your fork of ~miryoku_zmk~ from the list on the left. 29 | - Press the ~Fetch upstream~ button in the top right. 30 | #+html: 31 | - Press the ~Fetch and merge~ button in the popup if it is enabled. 32 | #+html: 33 | - Select the ~Actions~ tab. 34 | #+html: 35 | - Select ~Build Inputs~ from the ~Workflows~ list on the left. 36 | - Press the ~Run workflow~ button on the right. 37 | #+html: 38 | - Fill out the fields in the popup as desired. See the [[https://github.com/manna-harbour/miryoku_zmk/#options][Options]] documentation for details. 39 | #+html: 40 | - Press the ~Run workflow~ button at the bottom of the popup. 41 | #+html: 42 | - Wait for the workflow run to complete. 43 | 44 | 45 | ** Download 46 | 47 | Start here to download previously [[#build][built]] firmware. 48 | 49 | - Visit https://github.com/?q=miryoku_zmk. 50 | - Select your fork of ~miryoku_zmk~ from the list on the left. 51 | - Select the ~Actions~ tab. 52 | #+html: 53 | - Select the workflow run from the list. 54 | #+html: 55 | - Select the artifact at the bottom. 56 | #+html: 57 | - Wait for the download to complete. 58 | - Unzip the downloaded zip file. 59 | 60 | 61 | ** Flash 62 | 63 | Start here to flash previously [[#download][downloaded]] firmware. 64 | 65 | The downloaded zip will contain a ~uf2~ firmware file. For split keyboards the zip will contain separate firmware files for the left and right sides, and the following steps should be performed for each side. 66 | 67 | - Connect the keyboard to the computer with a USB cable. 68 | - Double tap the reset button rapidly (two presses within half a second). The keyboard will appear to the computer as a USB mass storage device. 69 | - Copy the firmware file to the device. The keyboard will reset and the device will be removed. 70 | 71 | 72 | ** 73 | 74 | [[https://github.com/manna-harbour][https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/manna-harbour-boa-32.png]] 75 | 76 | -------------------------------------------------------------------------------- /.github/workflows/build-inputs.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Build Inputs' 5 | on: 6 | workflow_dispatch: 7 | inputs: 8 | board: 9 | description: 'board' 10 | required: true 11 | shield: 12 | description: 'shield' 13 | required: false 14 | default: 'default' 15 | alphas: 16 | description: 'alphas' 17 | required: false 18 | default: 'default' 19 | type: choice 20 | options: 21 | - "default" 22 | - "AZERTY" 23 | - "BEAKL15" 24 | - "Colemak" 25 | - "ColemakDHK" 26 | - "Dvorak" 27 | - "Halmak" 28 | - "QWERTY" 29 | - "QWERTZ" 30 | - "Workman" 31 | nav: 32 | description: 'nav' 33 | required: false 34 | default: 'default' 35 | type: choice 36 | options: 37 | - "default" 38 | - "invertedT" 39 | - "vi" 40 | clipboard: 41 | description: 'clipboard' 42 | required: false 43 | default: 'default' 44 | type: choice 45 | options: 46 | - "default" 47 | - "fun" 48 | - "Mac" 49 | - "Win" 50 | layers: 51 | description: 'layers' 52 | required: false 53 | default: 'default' 54 | type: choice 55 | options: 56 | - "default" 57 | - "flip" 58 | mapping: 59 | description: 'mapping' 60 | required: false 61 | default: 'default' 62 | custom_config: 63 | description: 'custom_config' 64 | required: false 65 | default: 'default' 66 | kconfig: 67 | description: 'kconfig' 68 | required: false 69 | default: 'default' 70 | branches: 71 | description: 'branches' 72 | required: false 73 | default: 'default' 74 | jobs: 75 | process-inputs: 76 | runs-on: ubuntu-latest 77 | outputs: 78 | board: ${{ steps.process-inputs.outputs.board }} 79 | shield: ${{ steps.process-inputs.outputs.shield }} 80 | alphas: ${{ steps.process-inputs.outputs.alphas }} 81 | nav: ${{ steps.process-inputs.outputs.nav }} 82 | clipboard: ${{ steps.process-inputs.outputs.clipboard }} 83 | layers: ${{ steps.process-inputs.outputs.layers }} 84 | mapping: ${{ steps.process-inputs.outputs.mapping }} 85 | custom_config: ${{ steps.process-inputs.outputs.custom_config }} 86 | kconfig: ${{ steps.process-inputs.outputs.kconfig }} 87 | branches: ${{ steps.process-inputs.outputs.branches }} 88 | steps: 89 | - name: Process inputs 90 | id: process-inputs 91 | run: | 92 | set-output() 93 | { 94 | json=`echo "$2" | jq -cnR 'inputs | split(",";"")'` 95 | echo "$1=$json" >> $GITHUB_OUTPUT 96 | } 97 | set-output "board" "${{ github.event.inputs.board }}" 98 | set-output "shield" "${{ github.event.inputs.shield }}" 99 | set-output "alphas" "${{ github.event.inputs.alphas }}" 100 | set-output "nav" "${{ github.event.inputs.nav }}" 101 | set-output "clipboard" "${{ github.event.inputs.clipboard }}" 102 | set-output "layers" "${{ github.event.inputs.layers }}" 103 | set-output "mapping" "${{ github.event.inputs.mapping }}" 104 | set-output "custom_config" "${{ github.event.inputs.custom_config }}" 105 | set-output "kconfig" "${{ github.event.inputs.kconfig }}" 106 | set-output "branches" "${{ github.event.inputs.branches }}" 107 | build: 108 | uses: ./.github/workflows/main.yml 109 | secrets: inherit 110 | needs: process-inputs 111 | with: 112 | board: ${{ needs.process-inputs.outputs.board }} 113 | shield: ${{ needs.process-inputs.outputs.shield }} 114 | alphas: ${{ needs.process-inputs.outputs.alphas }} 115 | nav: ${{ needs.process-inputs.outputs.nav }} 116 | clipboard: ${{ needs.process-inputs.outputs.clipboard }} 117 | layers: ${{ needs.process-inputs.outputs.layers }} 118 | mapping: ${{ needs.process-inputs.outputs.mapping }} 119 | custom_config: ${{ needs.process-inputs.outputs.custom_config }} 120 | kconfig: ${{ needs.process-inputs.outputs.kconfig }} 121 | branches: ${{ needs.process-inputs.outputs.branches }} 122 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_toprowcombos.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_TERM 50 5 | #define MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(LAYER, POSITION, BINDING) \ 6 | toprowcombos_ ## LAYER ## _ ## POSITION { \ 7 | layers = ; \ 8 | key-positions = ; \ 9 | bindings = ; \ 10 | timeout-ms = ; \ 11 | }; 12 | 13 | / { 14 | combos { 15 | compatible = "zmk,combos"; 16 | #if defined (MIRYOKU_LAYERS_FLIP) 17 | #if defined (MIRYOKU_ALPHAS_AZERTY) 18 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 19 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 20 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 21 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 22 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 23 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 24 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 25 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 26 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 27 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 28 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 29 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 30 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 31 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 32 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 33 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 34 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 35 | #else 36 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 37 | #endif 38 | #if defined (MIRYOKU_NAV_INVERTEDT) 39 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 40 | #elif defined (MIRYOKU_NAV_VI) 41 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 42 | #else 43 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 44 | #endif 45 | #else 46 | #if defined (MIRYOKU_ALPHAS_AZERTY) 47 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 48 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 49 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 50 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 51 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 52 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 53 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 54 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 55 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 56 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 57 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 58 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 59 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 60 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 61 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, LEFTPINKIE, &kp Q) 62 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, LEFTINNERINDEX, &kp T) 63 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, RIGHTINNERINDEX, &kp Y) 64 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, RIGHTPINKIE, &kp P) 65 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 66 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 67 | #else 68 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, LEFTPINKIE, &kp Q) 69 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, LEFTINNERINDEX, &kp B) 70 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, RIGHTINNERINDEX, &kp J) 71 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BASE, RIGHTPINKIE, &kp SQT) 72 | #endif 73 | #if defined (MIRYOKU_NAV_INVERTEDT) 74 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 75 | #elif defined (MIRYOKU_NAV_VI) 76 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 77 | #else 78 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NAV, LEFTPINKIE, &bootloader) 79 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NAV, LEFTINNERINDEX, U_NA) 80 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NAV, RIGHTINNERINDEX, U_RDO) 81 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NAV, RIGHTPINKIE, U_UND) 82 | 83 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MOUSE, LEFTPINKIE, &bootloader) 84 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MOUSE, LEFTINNERINDEX, U_NA) 85 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MOUSE, RIGHTINNERINDEX, U_RDO) 86 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MOUSE, RIGHTPINKIE, U_UND) 87 | 88 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MEDIA, LEFTPINKIE, &bootloader) 89 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MEDIA, LEFTINNERINDEX, U_NA) 90 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MEDIA, RIGHTINNERINDEX, &rgb_ug RGB_TOG) 91 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_MEDIA, RIGHTPINKIE, &u_rgb_bri) 92 | #endif 93 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NUM, LEFTPINKIE, &kp LBKT) 94 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NUM, LEFTINNERINDEX, &kp RBKT) 95 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NUM, RIGHTINNERINDEX, U_NA) 96 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_NUM, RIGHTPINKIE, &bootloader) 97 | 98 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_SYM, LEFTPINKIE, &kp LBRC) 99 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_SYM, LEFTINNERINDEX, &kp RBRC) 100 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_SYM, RIGHTINNERINDEX, U_NA) 101 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_SYM, RIGHTPINKIE, &bootloader) 102 | 103 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_FUN, LEFTPINKIE, &kp F12) 104 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_FUN, LEFTINNERINDEX, &kp PSCRN) 105 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_FUN, RIGHTINNERINDEX, U_NA) 106 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_FUN, RIGHTPINKIE, &bootloader) 107 | #endif 108 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BUTTON, LEFTPINKIE, U_UND) 109 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BUTTON, LEFTINNERINDEX, U_RDO) 110 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BUTTON, RIGHTINNERINDEX, U_RDO) 111 | MIRYOKU_KLUDGE_TOPROWCOMBOS_MACRO(U_BUTTON, RIGHTPINKIE, U_UND) 112 | }; 113 | }; 114 | -------------------------------------------------------------------------------- /miryoku/miryoku_kludge_bottomrowcombos.dtsi: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | 4 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_TERM 50 5 | #define MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(LAYER, POSITION, BINDING) \ 6 | bottomrowcombos_ ## LAYER ## _ ## POSITION { \ 7 | layers = ; \ 8 | key-positions = ; \ 9 | bindings = ; \ 10 | timeout-ms = ; \ 11 | }; 12 | 13 | / { 14 | combos { 15 | compatible = "zmk,combos"; 16 | #if defined (MIRYOKU_LAYERS_FLIP) 17 | #if defined (MIRYOKU_ALPHAS_AZERTY) 18 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 19 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 20 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 21 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 22 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 23 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 24 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 25 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 26 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 27 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 28 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 29 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 30 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 31 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 32 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 33 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 34 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 35 | #else 36 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 37 | #endif 38 | #if defined (MIRYOKU_NAV_INVERTEDT) 39 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 40 | #elif defined (MIRYOKU_NAV_VI) 41 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 42 | #else 43 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 44 | #endif 45 | #else 46 | #if defined (MIRYOKU_ALPHAS_AZERTY) 47 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 48 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 49 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 50 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 51 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 52 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 53 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 54 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 55 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 56 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 57 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 58 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 59 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 60 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 61 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, LEFTPINKIE, &kp Z) 62 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, LEFTINNERINDEX, &kp B) 63 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, RIGHTINNERINDEX, &kp N) 64 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, RIGHTPINKIE, &kp BSLH) 65 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 66 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 67 | #else 68 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, LEFTPINKIE, < U_BUTTON Z) 69 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, LEFTINNERINDEX, &kp V) 70 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, RIGHTINNERINDEX, &kp K) 71 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BASE, RIGHTPINKIE, < U_BUTTON SLASH) 72 | #endif 73 | #if defined (MIRYOKU_NAV_INVERTEDT) 74 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 75 | #elif defined (MIRYOKU_NAV_VI) 76 | #error "Not implemented. See https://github.com/manna-harbour/miryoku/issues/56" 77 | #else 78 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NAV, LEFTPINKIE, U_NA) 79 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NAV, LEFTINNERINDEX, U_NA) 80 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NAV, RIGHTINNERINDEX, &kp INS) 81 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NAV, RIGHTPINKIE, &kp END) 82 | 83 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MOUSE, LEFTPINKIE, U_NA) 84 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MOUSE, LEFTINNERINDEX, U_NA) 85 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MOUSE, RIGHTINNERINDEX, U_NU) 86 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MOUSE, RIGHTPINKIE, U_WH_R) 87 | 88 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MEDIA, LEFTPINKIE, U_NA) 89 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MEDIA, LEFTINNERINDEX, U_NA) 90 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MEDIA, RIGHTINNERINDEX, &u_out_tog) 91 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_MEDIA, RIGHTPINKIE, &u_bt_sel_3) 92 | #endif 93 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NUM, LEFTPINKIE, &kp GRAVE) 94 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NUM, LEFTINNERINDEX, &kp BSLH) 95 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NUM, RIGHTINNERINDEX, U_NA) 96 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_NUM, RIGHTPINKIE, U_NA) 97 | 98 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_SYM, LEFTPINKIE, &kp TILDE) 99 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_SYM, LEFTINNERINDEX, &kp PIPE) 100 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_SYM, RIGHTINNERINDEX, U_NA) 101 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_SYM, RIGHTPINKIE, U_NA) 102 | 103 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_FUN, LEFTPINKIE, &kp F10) 104 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_FUN, LEFTINNERINDEX, &kp PAUSE_BREAK) 105 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_FUN, RIGHTINNERINDEX, U_NA) 106 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_FUN, RIGHTPINKIE, U_NA) 107 | #endif 108 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BUTTON, LEFTPINKIE, U_UND) 109 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BUTTON, LEFTINNERINDEX, U_RDO) 110 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BUTTON, RIGHTINNERINDEX, U_RDO) 111 | MIRYOKU_KLUDGE_BOTTOMROWCOMBOS_MACRO(U_BUTTON, RIGHTPINKIE, U_UND) 112 | }; 113 | }; 114 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 Manna Harbour 2 | # https://github.com/manna-harbour/miryoku 3 | 4 | name: 'Main' 5 | on: 6 | workflow_call: 7 | inputs: 8 | board: 9 | type: string 10 | default: '["default"]' 11 | shield: 12 | type: string 13 | default: '["default"]' 14 | alphas: 15 | type: string 16 | default: '["default"]' 17 | nav: 18 | type: string 19 | default: '["default"]' 20 | clipboard: 21 | type: string 22 | default: '["default"]' 23 | layers: 24 | type: string 25 | default: '["default"]' 26 | mapping: 27 | type: string 28 | default: '["default"]' 29 | custom_config: 30 | type: string 31 | default: '["default"]' 32 | kconfig: 33 | type: string 34 | default: '["default"]' 35 | branches: 36 | type: string 37 | default: '["default"]' 38 | 39 | jobs: 40 | main: 41 | runs-on: ubuntu-latest 42 | container: 43 | image: zmkfirmware/zmk-build-arm:stable 44 | strategy: 45 | fail-fast: false 46 | matrix: 47 | board: ${{ fromJSON(inputs.board) }} 48 | shield: ${{ fromJSON(inputs.shield) }} 49 | alphas: ${{ fromJSON(inputs.alphas) }} 50 | nav: ${{ fromJSON(inputs.nav) }} 51 | clipboard: ${{ fromJSON(inputs.clipboard) }} 52 | layers: ${{ fromJSON(inputs.layers) }} 53 | mapping: ${{ fromJSON(inputs.mapping) }} 54 | custom_config: ${{ fromJSON(inputs.custom_config) }} 55 | kconfig: ${{ fromJSON(inputs.kconfig) }} 56 | branches: ${{ fromJSON(inputs.branches) }} 57 | env: 58 | MIRYOKU_DEBUG: ${{ secrets.MIRYOKU_DEBUG }} 59 | steps: 60 | - name: checkout 61 | uses: actions/checkout@v3 62 | with: 63 | path: 'miryoku_zmk' 64 | - name: main 65 | id: main 66 | run: | 67 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' && set -x 68 | 69 | echo "::group::variables" 70 | 71 | if [ -n "${{ matrix.shield }}" -a "${{ matrix.shield }}" != "default" ] 72 | then 73 | SHIELD_ARG="-DSHIELD=\"${{ matrix.shield }}\"" 74 | shield=`echo ${{ matrix.shield }} | cut -d ' ' -f 1` 75 | keyboard="$shield" 76 | else 77 | keyboard=${{ matrix.board }} 78 | shield="" 79 | fi 80 | echo "shield_arg=${SHIELD_ARG}" >> $GITHUB_OUTPUT 81 | keyboard_split="$keyboard" 82 | keyboard_base=`echo "$keyboard" | sed 's/_\(left\|right\)//'` 83 | 84 | configfile="${GITHUB_WORKSPACE}/miryoku_zmk/miryoku/custom_config.h" 85 | 86 | tmpfile="$configfile.tmp" 87 | echo -n '#define ' > "$tmpfile" 88 | echo "MIRYOKU_KEYBOARD_$keyboard_base" | tr '[a-z-]' '[A-Z_]' >> "$tmpfile" 89 | cat "$configfile" >> "$tmpfile" 90 | mv "$tmpfile" "$configfile" 91 | 92 | artifact_build_name="miryoku_zmk" 93 | if [ -n "${{ matrix.shield }}" -a "${{ matrix.shield }}" != 'default' ] 94 | then 95 | artifact_build_name="$artifact_build_name ${{ matrix.shield }}" 96 | fi 97 | artifact_build_name="$artifact_build_name ${{ matrix.board }}" 98 | 99 | hash_length=16 100 | 101 | if [ -n "${{ matrix.custom_config }}" -a "${{ matrix.custom_config }}" != 'default' ] 102 | then 103 | echo "${{ matrix.custom_config }}" >> "$configfile" 104 | artifact_build_name="$artifact_build_name config_"`echo "${{ matrix.custom_config }}" | md5sum | head -c "$hash_length"` 105 | fi 106 | 107 | for option in "alphas_${{ matrix.alphas }}" "nav_${{ matrix.nav }}" "clipboard_${{ matrix.clipboard }}" "layers_${{ matrix.layers }}" "mapping_${{ matrix.mapping }}" 108 | do 109 | case "$option" in 110 | *_ ) ;; 111 | *_default ) ;; 112 | * ) 113 | artifact_build_name="$artifact_build_name $option" 114 | echo "#define MIRYOKU_"`echo "$option" | tr 'a-z' 'A-Z'` >> "$configfile" 115 | ;; 116 | esac 117 | done 118 | 119 | artifact_dir="${GITHUB_WORKSPACE}/artifacts" 120 | echo "artifact_dir=$artifact_dir" >> $GITHUB_OUTPUT 121 | mkdir "$artifact_dir" 122 | 123 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' && cp "$configfile" "$artifact_dir" 124 | 125 | if [ -n "${{ matrix.kconfig }}" -a "${{ matrix.kconfig }}" != 'default' ] 126 | then 127 | kconfig_file="${GITHUB_WORKSPACE}/miryoku_zmk/config/$keyboard_split.conf" 128 | echo "${{ matrix.kconfig }}" >> "$kconfig_file" 129 | artifact_build_name="$artifact_build_name kconfig_"`echo "${{ matrix.kconfig }}" | md5sum | head -c "$hash_length"` 130 | fi 131 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' && test -f "$kconfig_file" && cp "$kconfig_file" "$artifact_dir" 132 | 133 | . "${GITHUB_WORKSPACE}/miryoku_zmk/.github/workflows/zmk" 134 | 135 | echo "::endgroup::" 136 | 137 | echo "::group::outboards" 138 | if [ -n "$shield" ] 139 | then 140 | outboards="shields/$keyboard_base boards/${{ matrix.board }}" 141 | else 142 | outboards="boards/$keyboard_base" 143 | fi 144 | for outboard in $outboards 145 | do 146 | outboard_file="${GITHUB_WORKSPACE}/miryoku_zmk/.github/workflows/outboards/$outboard" 147 | if [ -f "$outboard_file" ] 148 | then 149 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' && cp "$outboard_file" "$artifact_dir" 150 | . "$outboard_file" 151 | outboard_dir="${GITHUB_WORKSPACE}/outboards/$outboard" 152 | if [ -n "$outboard_repository" -a -n "$outboard_ref" ] 153 | then 154 | if ! echo "$outboard_repository" | grep -q 'https:\/\/' 155 | then 156 | outboard_repository="https://github.com/$outboard_repository.git" 157 | fi 158 | git clone -b "$outboard_ref" --depth 1 "$outboard_repository" "$outboard_dir" 159 | if [ -n "$outboard_from" -a -n "$outboard_to" ] 160 | then 161 | to="${GITHUB_WORKSPACE}/miryoku_zmk/config/$outboard_to" 162 | mkdir -p `dirname "$to"` 163 | ln -sr "$outboard_dir/$outboard_from" "$to" 164 | fi 165 | fi 166 | outboard_repository='' 167 | outboard_ref='' 168 | outboard_from='' 169 | outboard_to='' 170 | fi 171 | done 172 | echo "::endgroup::" 173 | 174 | echo "::group::zmk" 175 | if [ -n "${{ matrix.branches }}" -a "${{ matrix.branches }}" != 'default' ] 176 | then 177 | artifact_build_name="$artifact_build_name branches_"`echo "${{ matrix.branches }}" | md5sum | head -c "$hash_length"` 178 | zmk=`echo "${{ matrix.branches }}" | cut -d ' ' -f 1` 179 | merges=`echo "${{ matrix.branches }}" | cut -d ' ' -f 2- -s` 180 | fi 181 | 182 | artifact_build_name=`echo $artifact_build_name | tr ' ' '-'` 183 | echo "artifact_build_name=$artifact_build_name" >> $GITHUB_OUTPUT 184 | artifact_generic_name=`echo "$artifact_build_name" | sed 's/_\(left\|right\)//'` 185 | echo "artifact_generic_name=$artifact_generic_name" >> $GITHUB_OUTPUT 186 | 187 | user=`echo "$zmk" | cut -f 1 -d '/'` 188 | repo=`echo "$zmk" | cut -f 2 -d '/'` 189 | branch=`echo "$zmk" | cut -f 3- -d '/'` 190 | git clone -b "$branch" --depth 1 "https://github.com/$user/$repo.git" 'zmk' 191 | echo "::endgroup::" 192 | 193 | echo "::group::merge" 194 | if [ -n "$merges" ] 195 | then 196 | cd "${GITHUB_WORKSPACE}/zmk" 197 | git config user.name "${GITHUB_ACTOR}" 198 | git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" 199 | git fetch --unshallow 200 | for merge in $merges 201 | do 202 | user=`echo "$merge" | cut -f 1 -d '/'` 203 | repo=`echo "$merge" | cut -f 2 -d '/'` 204 | branch=`echo "$merge" | cut -f 3- -d '/'` 205 | remote="$user-$repo" 206 | git remote add "$remote" "https://github.com/$user/$repo.git" 207 | git fetch "$remote" "$branch" 208 | git merge "$remote/$branch" 209 | git remote remove "$remote" 210 | git status 211 | done 212 | fi 213 | echo "::endgroup::" 214 | - name: cache 215 | if: true 216 | uses: actions/cache@v3 217 | with: 218 | path: | 219 | zmk/modules/ 220 | zmk/zephyr/ 221 | key: zephyr ${{ runner.os }} ${{ hashFiles('zmk/app/west.yml') }} 222 | timeout-minutes: 2 223 | continue-on-error: true 224 | - name: build 225 | run: | 226 | if [ "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' ] 227 | then 228 | set -x 229 | #west_debug='-v' 230 | #west_build_debug='-t rom_report -t ram_report' 231 | fi 232 | 233 | echo "::group::setup" 234 | cd "${GITHUB_WORKSPACE}/zmk" 235 | west $west_debug init -l app 236 | west $west_debug update 237 | west $west_debug zephyr-export 238 | echo "::endgroup::" 239 | 240 | echo "::group::build" 241 | log='build.log' 242 | build_failed_message='::error::Build failed with exit code' 243 | EX_UNAVAILABLE='69' 244 | EX_DATAERR='65' 245 | cd "${GITHUB_WORKSPACE}/zmk/app" 246 | { 247 | west $west_debug build -b ${{ matrix.board }} $west_build_debug -- ${{ steps.main.outputs.shield_arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/miryoku_zmk/config" || 248 | echo "$build_failed_message $?." ; 249 | } 2>&1 | tee "$log" 250 | if grep -q 'Invalid BOARD; see above.' "$log" 251 | then 252 | echo '::error::Board not found. Unsupported or incorrect board.' 253 | (exit "$EX_UNAVAILABLE") 254 | fi 255 | if grep -q 'Failed to locate keymap file!' "$log" 256 | then 257 | echo '::error::Keymap not found. Unsupported or incorrect keyboard.' 258 | (exit "$EX_UNAVAILABLE") 259 | fi 260 | if grep -q 'Invalid SHIELD' "$log" 261 | then 262 | echo '::error::Keymap found but shield not found. Board used for shield.' 263 | (exit "$EX_DATAERR") 264 | fi 265 | if grep -q 'Using keymap file: .*/boards/' "$log" && ! grep -q 'Using keymap file: .*/settings_reset.keymap' "$log" 266 | then 267 | echo '::error::Miryoku keyboard keymap not found. Unsupported or incorrect keyboard.' 268 | (exit "$EX_UNAVAILABLE") 269 | fi 270 | if grep -q "$build_failed_message" "$log" 271 | then 272 | false 273 | fi 274 | echo "::endgroup::" 275 | 276 | echo "::group::copy" 277 | for extension in 'uf2' 'bin' 'hex' 'elf' 278 | do 279 | file="${GITHUB_WORKSPACE}/zmk/app/build/zephyr/zmk.$extension" 280 | if [ -f "$file" ] 281 | then 282 | cp "$file" "${{ steps.main.outputs.artifact_dir }}/${{ steps.main.outputs.artifact_build_name }}.$extension" 283 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' || break 284 | fi 285 | done 286 | test "$MIRYOKU_DEBUG" = 'MIRYOKU_DEBUG_TRUE' && cp "${GITHUB_WORKSPACE}/zmk/app/build/zephyr/.config" "${{ steps.main.outputs.artifact_dir }}/${{ steps.main.outputs.artifact_build_name }}.config" 287 | echo "::endgroup::" 288 | - name: upload 289 | uses: actions/upload-artifact@v3 290 | with: 291 | name: ${{ steps.main.outputs.artifact_generic_name }} 292 | path: ${{ steps.main.outputs.artifact_dir }} 293 | 294 | -------------------------------------------------------------------------------- /miryoku/miryoku_babel/miryoku_layer_selection.h: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Manna Harbour 2 | // https://github.com/manna-harbour/miryoku 3 | // generated -*- buffer-read-only: t -*- 4 | 5 | #pragma once 6 | 7 | #include "miryoku_layer_alternatives.h" 8 | 9 | #if !defined(MIRYOKU_LAYER_BASE) 10 | #if defined (MIRYOKU_LAYERS_FLIP) 11 | #if defined (MIRYOKU_ALPHAS_AZERTY) 12 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_AZERTY_FLIP 13 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 14 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_BEAKL15_FLIP 15 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 16 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAK_FLIP 17 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDH) 18 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH_FLIP 19 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 20 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDHK_FLIP 21 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 22 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_DVORAK_FLIP 23 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 24 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_HALMAK_FLIP 25 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 26 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_WORKMAN_FLIP 27 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 28 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_QWERTY_FLIP 29 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 30 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_QWERTZ_FLIP 31 | #else 32 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH_FLIP 33 | #endif 34 | #else 35 | #if defined (MIRYOKU_ALPHAS_AZERTY) 36 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_AZERTY 37 | #elif defined (MIRYOKU_ALPHAS_BEAKL15) 38 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_BEAKL15 39 | #elif defined (MIRYOKU_ALPHAS_COLEMAK) 40 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAK 41 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDH) 42 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH 43 | #elif defined (MIRYOKU_ALPHAS_COLEMAKDHK) 44 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDHK 45 | #elif defined (MIRYOKU_ALPHAS_DVORAK) 46 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_DVORAK 47 | #elif defined (MIRYOKU_ALPHAS_HALMAK) 48 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_HALMAK 49 | #elif defined (MIRYOKU_ALPHAS_WORKMAN) 50 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_WORKMAN 51 | #elif defined (MIRYOKU_ALPHAS_QWERTY) 52 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_QWERTY 53 | #elif defined (MIRYOKU_ALPHAS_QWERTZ) 54 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_QWERTZ 55 | #else 56 | #define MIRYOKU_LAYER_BASE MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH 57 | #endif 58 | #endif 59 | #endif 60 | #if !defined(MIRYOKU_LAYERMAPPING_BASE) 61 | #define MIRYOKU_LAYERMAPPING_BASE MIRYOKU_MAPPING 62 | #endif 63 | 64 | #if !defined(MIRYOKU_LAYER_EXTRA) 65 | #if defined (MIRYOKU_LAYERS_FLIP) 66 | #if defined (MIRYOKU_EXTRA_AZERTY) 67 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_AZERTY_FLIP 68 | #elif defined (MIRYOKU_EXTRA_BEAKL15) 69 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_BEAKL15_FLIP 70 | #elif defined (MIRYOKU_EXTRA_COLEMAK) 71 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAK_FLIP 72 | #elif defined (MIRYOKU_EXTRA_COLEMAKDH) 73 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH_FLIP 74 | #elif defined (MIRYOKU_EXTRA_COLEMAKDHK) 75 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAKDHK_FLIP 76 | #elif defined (MIRYOKU_EXTRA_DVORAK) 77 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_DVORAK_FLIP 78 | #elif defined (MIRYOKU_EXTRA_HALMAK) 79 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_HALMAK_FLIP 80 | #elif defined (MIRYOKU_EXTRA_WORKMAN) 81 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_WORKMAN_FLIP 82 | #elif defined (MIRYOKU_EXTRA_QWERTY) 83 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTY_FLIP 84 | #elif defined (MIRYOKU_EXTRA_QWERTZ) 85 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTZ_FLIP 86 | #else 87 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTY_FLIP 88 | #endif 89 | #else 90 | #if defined (MIRYOKU_EXTRA_AZERTY) 91 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_AZERTY 92 | #elif defined (MIRYOKU_EXTRA_BEAKL15) 93 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_BEAKL15 94 | #elif defined (MIRYOKU_EXTRA_COLEMAK) 95 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAK 96 | #elif defined (MIRYOKU_EXTRA_COLEMAKDH) 97 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAKDH 98 | #elif defined (MIRYOKU_EXTRA_COLEMAKDHK) 99 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_COLEMAKDHK 100 | #elif defined (MIRYOKU_EXTRA_DVORAK) 101 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_DVORAK 102 | #elif defined (MIRYOKU_EXTRA_HALMAK) 103 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_HALMAK 104 | #elif defined (MIRYOKU_EXTRA_WORKMAN) 105 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_WORKMAN 106 | #elif defined (MIRYOKU_EXTRA_QWERTY) 107 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTY 108 | #elif defined (MIRYOKU_EXTRA_QWERTZ) 109 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTZ 110 | #else 111 | #define MIRYOKU_LAYER_EXTRA MIRYOKU_ALTERNATIVES_BASE_QWERTY 112 | #endif 113 | #endif 114 | #endif 115 | #if !defined(MIRYOKU_LAYERMAPPING_EXTRA) 116 | #define MIRYOKU_LAYERMAPPING_EXTRA MIRYOKU_MAPPING 117 | #endif 118 | 119 | #if !defined(MIRYOKU_LAYER_TAP) 120 | #if defined (MIRYOKU_LAYERS_FLIP) 121 | #if defined (MIRYOKU_TAP_AZERTY) 122 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_AZERTY_FLIP 123 | #elif defined (MIRYOKU_TAP_BEAKL15) 124 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_BEAKL15_FLIP 125 | #elif defined (MIRYOKU_TAP_COLEMAK) 126 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAK_FLIP 127 | #elif defined (MIRYOKU_TAP_COLEMAKDH) 128 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDH_FLIP 129 | #elif defined (MIRYOKU_TAP_COLEMAKDHK) 130 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDHK_FLIP 131 | #elif defined (MIRYOKU_TAP_DVORAK) 132 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_DVORAK_FLIP 133 | #elif defined (MIRYOKU_TAP_HALMAK) 134 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_HALMAK_FLIP 135 | #elif defined (MIRYOKU_TAP_WORKMAN) 136 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_WORKMAN_FLIP 137 | #elif defined (MIRYOKU_TAP_QWERTY) 138 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_QWERTY_FLIP 139 | #elif defined (MIRYOKU_TAP_QWERTZ) 140 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_QWERTZ_FLIP 141 | #else 142 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDH_FLIP 143 | #endif 144 | #else 145 | #if defined (MIRYOKU_TAP_AZERTY) 146 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_AZERTY 147 | #elif defined (MIRYOKU_TAP_BEAKL15) 148 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_BEAKL15 149 | #elif defined (MIRYOKU_TAP_COLEMAK) 150 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAK 151 | #elif defined (MIRYOKU_TAP_COLEMAKDH) 152 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDH 153 | #elif defined (MIRYOKU_TAP_COLEMAKDHK) 154 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDHK 155 | #elif defined (MIRYOKU_TAP_DVORAK) 156 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_DVORAK 157 | #elif defined (MIRYOKU_TAP_HALMAK) 158 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_HALMAK 159 | #elif defined (MIRYOKU_TAP_WORKMAN) 160 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_WORKMAN 161 | #elif defined (MIRYOKU_TAP_QWERTY) 162 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_QWERTY 163 | #elif defined (MIRYOKU_TAP_QWERTZ) 164 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_QWERTZ 165 | #else 166 | #define MIRYOKU_LAYER_TAP MIRYOKU_ALTERNATIVES_TAP_COLEMAKDH 167 | #endif 168 | #endif 169 | #endif 170 | #if !defined(MIRYOKU_LAYERMAPPING_TAP) 171 | #define MIRYOKU_LAYERMAPPING_TAP MIRYOKU_MAPPING 172 | #endif 173 | 174 | #if !defined(MIRYOKU_LAYER_BUTTON) 175 | #define MIRYOKU_LAYER_BUTTON MIRYOKU_ALTERNATIVES_BUTTON 176 | #endif 177 | #if !defined(MIRYOKU_LAYERMAPPING_BUTTON) 178 | #define MIRYOKU_LAYERMAPPING_BUTTON MIRYOKU_MAPPING 179 | #endif 180 | 181 | #if !defined(MIRYOKU_LAYER_NAV) 182 | #if defined (MIRYOKU_LAYERS_FLIP) 183 | #if defined (MIRYOKU_NAV_INVERTEDT) 184 | #define MIRYOKU_LAYER_NAV MIRYOKU_ALTERNATIVES_NAV_INVERTEDT_FLIP 185 | #else 186 | #define MIRYOKU_LAYER_NAV MIRYOKU_ALTERNATIVES_NAV_FLIP 187 | #endif 188 | #else 189 | #if defined (MIRYOKU_NAV_INVERTEDT) 190 | #define MIRYOKU_LAYER_NAV MIRYOKU_ALTERNATIVES_NAV_INVERTEDT 191 | #elif defined (MIRYOKU_NAV_VI) 192 | #define MIRYOKU_LAYER_NAV MIRYOKU_ALTERNATIVES_NAV_VI 193 | #else 194 | #define MIRYOKU_LAYER_NAV MIRYOKU_ALTERNATIVES_NAV 195 | #endif 196 | #endif 197 | #endif 198 | #if !defined(MIRYOKU_LAYERMAPPING_NAV) 199 | #define MIRYOKU_LAYERMAPPING_NAV MIRYOKU_MAPPING 200 | #endif 201 | 202 | #if !defined(MIRYOKU_LAYER_MOUSE) 203 | #if defined (MIRYOKU_LAYERS_FLIP) 204 | #if defined (MIRYOKU_NAV_INVERTEDT) 205 | #define MIRYOKU_LAYER_MOUSE MIRYOKU_ALTERNATIVES_MOUSE_INVERTEDT_FLIP 206 | #else 207 | #define MIRYOKU_LAYER_MOUSE MIRYOKU_ALTERNATIVES_MOUSE_FLIP 208 | #endif 209 | #else 210 | #if defined (MIRYOKU_NAV_INVERTEDT) 211 | #define MIRYOKU_LAYER_MOUSE MIRYOKU_ALTERNATIVES_MOUSE_INVERTEDT 212 | #elif defined (MIRYOKU_NAV_VI) 213 | #define MIRYOKU_LAYER_MOUSE MIRYOKU_ALTERNATIVES_MOUSE_VI 214 | #else 215 | #define MIRYOKU_LAYER_MOUSE MIRYOKU_ALTERNATIVES_MOUSE 216 | #endif 217 | #endif 218 | #endif 219 | #if !defined(MIRYOKU_LAYERMAPPING_MOUSE) 220 | #define MIRYOKU_LAYERMAPPING_MOUSE MIRYOKU_MAPPING 221 | #endif 222 | 223 | #if !defined(MIRYOKU_LAYER_MEDIA) 224 | #if defined (MIRYOKU_LAYERS_FLIP) 225 | #if defined (MIRYOKU_NAV_INVERTEDT) 226 | #define MIRYOKU_LAYER_MEDIA MIRYOKU_ALTERNATIVES_MEDIA_INVERTEDT_FLIP 227 | #else 228 | #define MIRYOKU_LAYER_MEDIA MIRYOKU_ALTERNATIVES_MEDIA_FLIP 229 | #endif 230 | #else 231 | #if defined (MIRYOKU_NAV_INVERTEDT) 232 | #define MIRYOKU_LAYER_MEDIA MIRYOKU_ALTERNATIVES_MEDIA_INVERTEDT 233 | #elif defined (MIRYOKU_NAV_VI) 234 | #define MIRYOKU_LAYER_MEDIA MIRYOKU_ALTERNATIVES_MEDIA_VI 235 | #else 236 | #define MIRYOKU_LAYER_MEDIA MIRYOKU_ALTERNATIVES_MEDIA 237 | #endif 238 | #endif 239 | #endif 240 | #if !defined(MIRYOKU_LAYERMAPPING_MEDIA) 241 | #define MIRYOKU_LAYERMAPPING_MEDIA MIRYOKU_MAPPING 242 | #endif 243 | 244 | #if !defined(MIRYOKU_LAYER_NUM) 245 | #if defined (MIRYOKU_LAYERS_FLIP) 246 | #define MIRYOKU_LAYER_NUM MIRYOKU_ALTERNATIVES_NUM_FLIP 247 | #else 248 | #define MIRYOKU_LAYER_NUM MIRYOKU_ALTERNATIVES_NUM 249 | #endif 250 | #endif 251 | #if !defined(MIRYOKU_LAYERMAPPING_NUM) 252 | #define MIRYOKU_LAYERMAPPING_NUM MIRYOKU_MAPPING 253 | #endif 254 | 255 | #if !defined(MIRYOKU_LAYER_SYM) 256 | #if defined (MIRYOKU_LAYERS_FLIP) 257 | #define MIRYOKU_LAYER_SYM MIRYOKU_ALTERNATIVES_SYM_FLIP 258 | #else 259 | #define MIRYOKU_LAYER_SYM MIRYOKU_ALTERNATIVES_SYM 260 | #endif 261 | #endif 262 | #if !defined(MIRYOKU_LAYERMAPPING_SYM) 263 | #define MIRYOKU_LAYERMAPPING_SYM MIRYOKU_MAPPING 264 | #endif 265 | 266 | #if !defined(MIRYOKU_LAYER_FUN) 267 | #if defined (MIRYOKU_LAYERS_FLIP) 268 | #define MIRYOKU_LAYER_FUN MIRYOKU_ALTERNATIVES_FUN_FLIP 269 | #else 270 | #define MIRYOKU_LAYER_FUN MIRYOKU_ALTERNATIVES_FUN 271 | #endif 272 | #endif 273 | #if !defined(MIRYOKU_LAYERMAPPING_FUN) 274 | #define MIRYOKU_LAYERMAPPING_FUN MIRYOKU_MAPPING 275 | #endif 276 | --------------------------------------------------------------------------------