diff options
| author | QMK Bot <hello@qmk.fm> | 2021-07-03 16:09:35 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-07-03 16:09:35 +0000 |
| commit | 55837093d5b3cfc44b5f54085ecf0511e4e877a2 (patch) | |
| tree | ec9905a84206f54d0aa1f12437b672cde5407799 /users | |
| parent | 6b59220097e5a3059660cdaab91f7110bafe2cd7 (diff) | |
| parent | 65f8da3034c0bc854aa23e0b8e78cbfc8a14ff19 (diff) | |
| download | qmk_firmware-55837093d5b3cfc44b5f54085ecf0511e4e877a2.tar.gz qmk_firmware-55837093d5b3cfc44b5f54085ecf0511e4e877a2.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users')
| -rw-r--r-- | users/manna-harbour_miryoku/config.h | 12 | ||||
| -rw-r--r-- | users/manna-harbour_miryoku/manna-harbour_miryoku.c | 247 | ||||
| -rw-r--r-- | users/manna-harbour_miryoku/manna-harbour_miryoku.h | 44 | ||||
| -rw-r--r-- | users/manna-harbour_miryoku/miryoku.org | 2399 | ||||
| -rw-r--r-- | users/manna-harbour_miryoku/rules.mk | 24 |
5 files changed, 2324 insertions, 402 deletions
diff --git a/users/manna-harbour_miryoku/config.h b/users/manna-harbour_miryoku/config.h index db1608815..38d363299 100644 --- a/users/manna-harbour_miryoku/config.h +++ b/users/manna-harbour_miryoku/config.h | |||
| @@ -1,8 +1,13 @@ | |||
| 1 | // Copyright 2019 Manna Harbour | ||
| 2 | // https://github.com/manna-harbour/miryoku | ||
| 1 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 3 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 2 | 4 | ||
| 5 | // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 6 | |||
| 3 | #pragma once | 7 | #pragma once |
| 4 | 8 | ||
| 5 | // default but important | 9 | // default but used in macros |
| 10 | #undef TAPPING_TERM | ||
| 6 | #define TAPPING_TERM 200 | 11 | #define TAPPING_TERM 200 |
| 7 | 12 | ||
| 8 | // Prevent normal rollover on alphas from accidentally triggering mods. | 13 | // Prevent normal rollover on alphas from accidentally triggering mods. |
| @@ -11,6 +16,11 @@ | |||
| 11 | // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. | 16 | // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. |
| 12 | #define TAPPING_FORCE_HOLD | 17 | #define TAPPING_FORCE_HOLD |
| 13 | 18 | ||
| 19 | // Auto Shift | ||
| 20 | #define NO_AUTO_SHIFT_ALPHA | ||
| 21 | #define AUTO_SHIFT_TIMEOUT TAPPING_TERM | ||
| 22 | #define AUTO_SHIFT_NO_SETUP | ||
| 23 | |||
| 14 | // Recommended for heavy chording. | 24 | // Recommended for heavy chording. |
| 15 | #define QMK_KEYS_PER_SCAN 4 | 25 | #define QMK_KEYS_PER_SCAN 4 |
| 16 | 26 | ||
diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.c b/users/manna-harbour_miryoku/manna-harbour_miryoku.c index 9bc0f17e6..ff25b7793 100644 --- a/users/manna-harbour_miryoku/manna-harbour_miryoku.c +++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.c | |||
| @@ -1,91 +1,216 @@ | |||
| 1 | // Copyright 2019 Manna Harbour | ||
| 2 | // https://github.com/manna-harbour/miryoku | ||
| 1 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 3 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 2 | 4 | ||
| 5 | // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 6 | |||
| 3 | #include "manna-harbour_miryoku.h" | 7 | #include "manna-harbour_miryoku.h" |
| 4 | 8 | ||
| 5 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 6 | #if defined MIRYOKU_ALPHAS_QWERTY | 10 | #if defined MIRYOKU_LAYERS_FLIP |
| 7 | [BASE] = LAYOUT_miryoku( | 11 | [BASE] = LAYOUT_miryoku( |
| 12 | #if defined MIRYOKU_ALPHAS_COLEMAK | ||
| 13 | KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | ||
| 14 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_D, KC_H, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | ||
| 15 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | ||
| 16 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 17 | #elif defined MIRYOKU_ALPHAS_COLEMAKDHK | ||
| 18 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | ||
| 19 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_K, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | ||
| 20 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | ||
| 21 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 22 | #elif defined MIRYOKU_ALPHAS_DVORAK | ||
| 23 | KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, | ||
| 24 | LGUI_T(KC_A), LALT_T(KC_O), LCTL_T(KC_E), LSFT_T(KC_U), KC_I, KC_D, LSFT_T(KC_H), LCTL_T(KC_T), LALT_T(KC_N), LGUI_T(KC_S), | ||
| 25 | KC_SLSH, ALGR_T(KC_Q), KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, ALGR_T(KC_V), KC_Z, | ||
| 26 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 27 | #elif defined MIRYOKU_ALPHAS_HALMAK | ||
| 28 | KC_W, KC_L, KC_R, KC_B, KC_Z, KC_QUOT, KC_Q, KC_U, KC_D, KC_J, | ||
| 29 | LGUI_T(KC_S), LALT_T(KC_H), LCTL_T(KC_N), LSFT_T(KC_T), KC_COMM, KC_DOT, LSFT_T(KC_A), LCTL_T(KC_E), LALT_T(KC_O), LGUI_T(KC_I), | ||
| 30 | KC_F, ALGR_T(KC_M), KC_V, KC_C, KC_SLSH, KC_G, KC_P, KC_X, ALGR_T(KC_K), KC_Y, | ||
| 31 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 32 | #elif defined MIRYOKU_ALPHAS_WORKMAN | ||
| 33 | KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_QUOT, | ||
| 34 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_H), LSFT_T(KC_T), KC_G, KC_Y, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_O), LGUI_T(KC_I), | ||
| 35 | KC_Z, ALGR_T(KC_X), KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | ||
| 36 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 37 | #elif defined MIRYOKU_ALPHAS_QWERTY | ||
| 8 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | 38 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, |
| 9 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_D), LSFT_T(KC_F), KC_G, KC_H, LSFT_T(KC_J), LCTL_T(KC_K), LALT_T(KC_L), LGUI_T(KC_QUOT), | 39 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_D), LSFT_T(KC_F), KC_G, KC_H, LSFT_T(KC_J), LCTL_T(KC_K), LALT_T(KC_L), LGUI_T(KC_QUOT), |
| 10 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 40 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 11 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 41 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP |
| 42 | #else | ||
| 43 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | ||
| 44 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | ||
| 45 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | ||
| 46 | U_NP, U_NP, LT(FUN, KC_DEL), LT(NUM, KC_BSPC), LT(SYM, KC_ENT), LT(MOUSE, KC_TAB), LT(NAV, KC_SPC), LT(MEDIA, KC_ESC), U_NP, U_NP | ||
| 47 | #endif | ||
| 12 | ), | 48 | ), |
| 13 | #elif defined MIRYOKU_ALPHAS_DVORAK | 49 | #if defined MIRYOKU_NAV_INVERTEDT |
| 14 | [BASE] = LAYOUT_miryoku( | 50 | [NAV] = LAYOUT_miryoku( |
| 15 | KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, | 51 | KC_PGUP, KC_HOME, KC_UP, KC_END, KC_INS, U_NA, U_NA, U_NA, U_NA, RESET, |
| 16 | LGUI_T(KC_A), LALT_T(KC_O), LCTL_T(KC_E), LSFT_T(KC_U), KC_I, KC_D, LSFT_T(KC_H), LCTL_T(KC_T), LALT_T(KC_N), LGUI_T(KC_S), | 52 | KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_CAPS, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 17 | KC_SLSH, ALGR_T(KC_Q), KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, ALGR_T(KC_V), KC_Z, | 53 | U_UND, U_CUT, U_CPY, U_PST, U_RDO, U_NA, U_NA, U_NA, KC_ALGR, U_NA, |
| 18 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 54 | U_NP, U_NP, KC_DEL, KC_BSPC, KC_ENT, U_NA, U_NA, U_NA, U_NP, U_NP |
| 55 | ), | ||
| 56 | [MOUSE] = LAYOUT_miryoku( | ||
| 57 | KC_WH_U, KC_WH_L, KC_MS_U, KC_WH_R, U_NU, U_NA, U_NA, U_NA, U_NA, RESET, | ||
| 58 | KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, U_NU, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 59 | U_UND, U_CUT, U_CPY, U_PST, U_RDO, U_NA, U_NA, U_NA, KC_ALGR, U_NA, | ||
| 60 | U_NP, U_NP, KC_BTN2, KC_BTN3, KC_BTN1, U_NA, U_NA, U_NA, U_NP, U_NP | ||
| 61 | ), | ||
| 62 | [MEDIA] = LAYOUT_miryoku( | ||
| 63 | U_NU, U_NU, KC_VOLU, U_NU, U_NU, U_NA, U_NA, U_NA, U_NA, RESET, | ||
| 64 | U_NU, KC_MPRV, KC_VOLD, KC_MNXT, U_NU, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 65 | RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_TOG, U_NA, U_NA, U_NA, KC_ALGR, U_NA, | ||
| 66 | U_NP, U_NP, KC_MUTE, KC_MPLY, KC_MSTP, U_NA, U_NA, U_NA, U_NP, U_NP | ||
| 67 | ), | ||
| 68 | #else | ||
| 69 | [NAV] = LAYOUT_miryoku( | ||
| 70 | KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_INS, U_NA, U_NA, U_NA, U_NA, RESET, | ||
| 71 | KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 72 | U_UND, U_CUT, U_CPY, U_PST, U_RDO, U_NA, U_NA, U_NA, KC_ALGR, U_NA, | ||
| 73 | U_NP, U_NP, KC_DEL, KC_BSPC, KC_ENT, U_NA, U_NA, U_NA, U_NP, U_NP | ||
| 74 | ), | ||
| 75 | [MOUSE] = LAYOUT_miryoku( | ||
| 76 | KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, U_NU, U_NA, U_NA, U_NA, U_NA, RESET, | ||
| 77 | KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, U_NU, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 78 | U_UND, U_CUT, U_CPY, U_PST, U_RDO, U_NA, U_NA, U_NA, KC_ALGR, U_NA, | ||
| 79 | U_NP, U_NP, KC_BTN2, KC_BTN3, KC_BTN1, U_NA, U_NA, U_NA, U_NP, U_NP | ||
| 80 | ), | ||
| 81 | [MEDIA] = LAYOUT_miryoku( | ||
| 82 | RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_TOG, U_NA, U_NA, U_NA, U_NA, RESET, | ||
| 83 | KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, U_NU, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 84 | U_NU, U_NU, U_NU, U_NU, U_NU, U_NA, U_NA, U_NA, KC_ALGR, U_NA, | ||
| 85 | U_NP, U_NP, KC_MUTE, KC_MPLY, KC_MSTP, U_NA, U_NA, U_NA, U_NP, U_NP | ||
| 86 | ), | ||
| 87 | #endif | ||
| 88 | [MBO] = LAYOUT_miryoku( | ||
| 89 | U_RDO, U_PST, U_CPY, U_CUT, U_UND, U_RDO, U_PST, U_CPY, U_CUT, U_UND, | ||
| 90 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_TRNS, KC_TRNS, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 91 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 92 | U_NP, U_NP, KC_BTN2, KC_BTN3, KC_BTN1, KC_BTN1, KC_BTN3, KC_BTN2, U_NP, U_NP | ||
| 93 | ), | ||
| 94 | [NUM] = LAYOUT_miryoku( | ||
| 95 | RESET, U_NA, U_NA, U_NA, U_NA, KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, | ||
| 96 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_EQL, KC_4, KC_5, KC_6, KC_SCLN, | ||
| 97 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_BSLS, KC_1, KC_2, KC_3, KC_GRV, | ||
| 98 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_MINS, KC_0, KC_DOT, U_NP, U_NP | ||
| 19 | ), | 99 | ), |
| 20 | #elif defined MIRYOKU_ALPHAS_COLEMAK | 100 | [SYM] = LAYOUT_miryoku( |
| 101 | RESET, U_NA, U_NA, U_NA, U_NA, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, | ||
| 102 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_PLUS, KC_DLR, KC_PERC, KC_CIRC, KC_COLN, | ||
| 103 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_PIPE, KC_EXLM, KC_AT, KC_HASH, KC_TILD, | ||
| 104 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_UNDS, KC_LPRN, KC_RPRN, U_NP, U_NP | ||
| 105 | ), | ||
| 106 | [FUN] = LAYOUT_miryoku( | ||
| 107 | RESET, U_NA, U_NA, U_NA, U_NA, KC_PSCR, KC_F7, KC_F8, KC_F9, KC_F12, | ||
| 108 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_SLCK, KC_F4, KC_F5, KC_F6, KC_F11, | ||
| 109 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_PAUS, KC_F1, KC_F2, KC_F3, KC_F10, | ||
| 110 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_TAB, KC_SPC, KC_APP, U_NP, U_NP | ||
| 111 | ) | ||
| 112 | , | ||
| 113 | #else | ||
| 21 | [BASE] = LAYOUT_miryoku( | 114 | [BASE] = LAYOUT_miryoku( |
| 115 | #if defined MIRYOKU_ALPHAS_COLEMAK | ||
| 22 | KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | 116 | KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, |
| 23 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_D, KC_H, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | 117 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_D, KC_H, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), |
| 24 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 118 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 25 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 119 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP |
| 26 | ), | 120 | #elif defined MIRYOKU_ALPHAS_COLEMAKDHK |
| 27 | #elif defined MIRYOKU_ALPHAS_COLEMAKDH | ||
| 28 | [BASE] = LAYOUT_miryoku( | ||
| 29 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | 121 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, |
| 30 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_K, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | 122 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_K, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), |
| 31 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 123 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 32 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 124 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP |
| 33 | ), | 125 | #elif defined MIRYOKU_ALPHAS_DVORAK |
| 34 | #elif defined MIRYOKU_ALPHAS_WORKMAN | 126 | KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, |
| 35 | [BASE] = LAYOUT_miryoku( | 127 | LGUI_T(KC_A), LALT_T(KC_O), LCTL_T(KC_E), LSFT_T(KC_U), KC_I, KC_D, LSFT_T(KC_H), LCTL_T(KC_T), LALT_T(KC_N), LGUI_T(KC_S), |
| 128 | KC_SLSH, ALGR_T(KC_Q), KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, ALGR_T(KC_V), KC_Z, | ||
| 129 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP | ||
| 130 | #elif defined MIRYOKU_ALPHAS_HALMAK | ||
| 131 | KC_W, KC_L, KC_R, KC_B, KC_Z, KC_QUOT, KC_Q, KC_U, KC_D, KC_J, | ||
| 132 | LGUI_T(KC_S), LALT_T(KC_H), LCTL_T(KC_N), LSFT_T(KC_T), KC_COMM, KC_DOT, LSFT_T(KC_A), LCTL_T(KC_E), LALT_T(KC_O), LGUI_T(KC_I), | ||
| 133 | KC_F, ALGR_T(KC_M), KC_V, KC_C, KC_SLSH, KC_G, KC_P, KC_X, ALGR_T(KC_K), KC_Y, | ||
| 134 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP | ||
| 135 | #elif defined MIRYOKU_ALPHAS_WORKMAN | ||
| 36 | KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_QUOT, | 136 | KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_QUOT, |
| 37 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_H), LSFT_T(KC_T), KC_G, KC_Y, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_O), LGUI_T(KC_I), | 137 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_H), LSFT_T(KC_T), KC_G, KC_Y, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_O), LGUI_T(KC_I), |
| 38 | KC_Z, ALGR_T(KC_X), KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 138 | KC_Z, ALGR_T(KC_X), KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 39 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 139 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP |
| 40 | ), | 140 | #elif defined MIRYOKU_ALPHAS_QWERTY |
| 41 | #else | 141 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, |
| 42 | [BASE] = LAYOUT_miryoku( | 142 | LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_D), LSFT_T(KC_F), KC_G, KC_H, LSFT_T(KC_J), LCTL_T(KC_K), LALT_T(KC_L), LGUI_T(KC_QUOT), |
| 143 | KC_Z, ALGR_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | ||
| 144 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP | ||
| 145 | #else | ||
| 43 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | 146 | KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, |
| 44 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | 147 | LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), |
| 45 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 148 | KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 46 | KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 149 | U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP |
| 150 | #endif | ||
| 47 | ), | 151 | ), |
| 48 | #endif | 152 | #if defined MIRYOKU_NAV_VI |
| 49 | [NAVR] = LAYOUT_miryoku( | 153 | [NAV] = LAYOUT_miryoku( |
| 50 | KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_AGIN, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE, | 154 | RESET, U_NA, U_NA, U_NA, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND, |
| 51 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, | 155 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, |
| 52 | KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, | 156 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_INS, |
| 53 | KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_ENT, KC_BSPC, KC_DEL, KC_NP, KC_NP | 157 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_ENT, KC_BSPC, KC_DEL, U_NP, U_NP |
| 54 | ), | 158 | ), |
| 55 | [MOUR] = LAYOUT_miryoku( | 159 | [MOUSE] = LAYOUT_miryoku( |
| 56 | KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU, | 160 | RESET, U_NA, U_NA, U_NA, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND, |
| 57 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, | 161 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, U_NU, |
| 58 | KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_NU, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, | 162 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, U_NU, |
| 59 | KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_BTN1, KC_BTN3, KC_BTN2, KC_NP, KC_NP | 163 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_BTN1, KC_BTN3, KC_BTN2, U_NP, U_NP |
| 164 | ), | ||
| 165 | [MEDIA] = LAYOUT_miryoku( | ||
| 166 | RESET, U_NA, U_NA, U_NA, U_NA, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, | ||
| 167 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, U_NU, | ||
| 168 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, | ||
| 169 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_MSTP, KC_MPLY, KC_MUTE, U_NP, U_NP | ||
| 170 | ), | ||
| 171 | #else | ||
| 172 | [NAV] = LAYOUT_miryoku( | ||
| 173 | RESET, U_NA, U_NA, U_NA, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND, | ||
| 174 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, | ||
| 175 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, | ||
| 176 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_ENT, KC_BSPC, KC_DEL, U_NP, U_NP | ||
| 177 | ), | ||
| 178 | [MOUSE] = LAYOUT_miryoku( | ||
| 179 | RESET, U_NA, U_NA, U_NA, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND, | ||
| 180 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, U_NU, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, | ||
| 181 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, U_NU, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, | ||
| 182 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_BTN1, KC_BTN3, KC_BTN2, U_NP, U_NP | ||
| 60 | ), | 183 | ), |
| 184 | [MEDIA] = LAYOUT_miryoku( | ||
| 185 | RESET, U_NA, U_NA, U_NA, U_NA, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, | ||
| 186 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, U_NU, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, | ||
| 187 | U_NA, KC_ALGR, U_NA, U_NA, U_NA, U_NU, U_NU, U_NU, U_NU, U_NU, | ||
| 188 | U_NP, U_NP, U_NA, U_NA, U_NA, KC_MSTP, KC_MPLY, KC_MUTE, U_NP, U_NP | ||
| 189 | ), | ||
| 190 | #endif | ||
| 61 | [MBO] = LAYOUT_miryoku( | 191 | [MBO] = LAYOUT_miryoku( |
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 192 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 193 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_TRNS, KC_TRNS, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 194 | U_RDO, U_PST, U_CPY, U_CUT, U_UND, U_RDO, U_PST, U_CPY, U_CUT, U_UND, |
| 65 | KC_NP, KC_NP, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN3, KC_BTN2, KC_NP, KC_NP | 195 | U_NP, U_NP, KC_BTN2, KC_BTN3, KC_BTN1, KC_BTN1, KC_BTN3, KC_BTN2, U_NP, U_NP |
| 66 | ), | 196 | ), |
| 67 | [MEDR] = LAYOUT_miryoku( | 197 | [NUM] = LAYOUT_miryoku( |
| 68 | KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_TOG, KC_MOD, KC_HUI, KC_SAI, KC_VAI, | 198 | KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, U_NA, U_NA, U_NA, U_NA, RESET, |
| 69 | KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, | 199 | KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 70 | KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU, | 200 | KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, U_NA, U_NA, U_NA, KC_ALGR, U_NA, |
| 71 | KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_MSTP, KC_MPLY, KC_MUTE, KC_NP, KC_NP | 201 | U_NP, U_NP, KC_DOT, KC_0, KC_MINS, U_NA, U_NA, U_NA, U_NP, U_NP |
| 72 | ), | 202 | ), |
| 73 | [FUNL] = LAYOUT_miryoku( | 203 | [SYM] = LAYOUT_miryoku( |
| 74 | KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, | 204 | KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, U_NA, U_NA, U_NA, U_NA, RESET, |
| 75 | KC_F11, KC_F4, KC_F5, KC_F6, KC_SLCK, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | 205 | KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 76 | KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA, | 206 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, U_NA, U_NA, U_NA, KC_ALGR, U_NA, |
| 77 | KC_NP, KC_NP, KC_APP, KC_SPC, KC_TAB, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP | 207 | U_NP, U_NP, KC_LPRN, KC_RPRN, KC_UNDS, U_NA, U_NA, U_NA, U_NP, U_NP |
| 78 | ), | 208 | ), |
| 79 | [NSL] = LAYOUT_miryoku( | 209 | [FUN] = LAYOUT_miryoku( |
| 80 | KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, | 210 | KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, U_NA, U_NA, U_NA, U_NA, RESET, |
| 81 | KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | 211 | KC_F11, KC_F4, KC_F5, KC_F6, KC_SLCK, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 82 | KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA, | 212 | KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, U_NA, U_NA, U_NA, KC_ALGR, U_NA, |
| 83 | KC_NP, KC_NP, KC_DOT, KC_0, KC_MINS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP | 213 | U_NP, U_NP, KC_APP, KC_SPC, KC_TAB, U_NA, U_NA, U_NA, U_NP, U_NP |
| 84 | ), | ||
| 85 | [NSSL] = LAYOUT_miryoku( | ||
| 86 | KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, | ||
| 87 | KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | ||
| 88 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA, | ||
| 89 | KC_NP, KC_NP, KC_GT, KC_RPRN, KC_UNDS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP | ||
| 90 | ) | 214 | ) |
| 215 | #endif | ||
| 91 | }; | 216 | }; |
diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.h b/users/manna-harbour_miryoku/manna-harbour_miryoku.h index 5f543cb0f..4d62c1707 100644 --- a/users/manna-harbour_miryoku/manna-harbour_miryoku.h +++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.h | |||
| @@ -1,19 +1,41 @@ | |||
| 1 | // Copyright 2019 Manna Harbour | ||
| 2 | // https://github.com/manna-harbour/miryoku | ||
| 1 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 3 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 2 | 4 | ||
| 5 | // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 6 | |||
| 3 | #pragma once | 7 | #pragma once |
| 4 | 8 | ||
| 5 | #include QMK_KEYBOARD_H | 9 | #include QMK_KEYBOARD_H |
| 6 | 10 | ||
| 7 | #define KC_NP KC_NO // key is not present | 11 | #define U_NP KC_NO // key is not present |
| 8 | #define KC_NA KC_NO // present but not available for use | 12 | #define U_NA KC_NO // present but not available for use |
| 9 | #define KC_NU KC_NO // available but not used | 13 | #define U_NU KC_NO // available but not used |
| 10 | 14 | ||
| 11 | // non-KC_ keycodes | 15 | enum layers { BASE, MBO, MEDIA, NAV, MOUSE, SYM, NUM, FUN }; |
| 12 | #define KC_RST RESET | ||
| 13 | #define KC_TOG RGB_TOG | ||
| 14 | #define KC_MOD RGB_MOD | ||
| 15 | #define KC_HUI RGB_HUI | ||
| 16 | #define KC_SAI RGB_SAI | ||
| 17 | #define KC_VAI RGB_VAI | ||
| 18 | 16 | ||
| 19 | enum layers { BASE, MBO, MEDR, NAVR, MOUR, NSSL, NSL, FUNL }; | 17 | #if defined MIRYOKU_CLIPBOARD_FUN |
| 18 | #define U_RDO KC_AGIN | ||
| 19 | #define U_PST KC_PSTE | ||
| 20 | #define U_CPY KC_COPY | ||
| 21 | #define U_CUT KC_CUT | ||
| 22 | #define U_UND KC_UNDO | ||
| 23 | #elif defined MIRYOKU_CLIPBOARD_MAC | ||
| 24 | #define U_RDO SCMD(KC_Z) | ||
| 25 | #define U_PST LCMD(KC_V) | ||
| 26 | #define U_CPY LCMD(KC_C) | ||
| 27 | #define U_CUT LCMD(KC_X) | ||
| 28 | #define U_UND LCMD(KC_Z) | ||
| 29 | #elif defined MIRYOKU_CLIPBOARD_WIN | ||
| 30 | #define U_RDO C(KC_Y) | ||
| 31 | #define U_PST C(KC_V) | ||
| 32 | #define U_CPY C(KC_C) | ||
| 33 | #define U_CUT C(KC_X) | ||
| 34 | #define U_UND C(KC_Z) | ||
| 35 | #else | ||
| 36 | #define U_RDO KC_AGIN | ||
| 37 | #define U_PST S(KC_INS) | ||
| 38 | #define U_CPY C(KC_INS) | ||
| 39 | #define U_CUT S(KC_DEL) | ||
| 40 | #define U_UND KC_UNDO | ||
| 41 | #endif | ||
diff --git a/users/manna-harbour_miryoku/miryoku.org b/users/manna-harbour_miryoku/miryoku.org index 011e43455..2f6b1d5a8 100644 --- a/users/manna-harbour_miryoku/miryoku.org +++ b/users/manna-harbour_miryoku/miryoku.org | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | # After making changes to code or tables call org-babel-tangle (C-c C-v t). | 1 | # After making changes to code or tables call org-babel-tangle (C-c C-v t). |
| 2 | 2 | ||
| 3 | #+Title: Miryoku [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/miryoku-roa-32.png]] | 3 | #+Title: Miryoku [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/miryoku-roa-32.png]] |
| 4 | 4 | ||
| 5 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/kle-miryoku-keycodes.png]] | 5 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/cover/miryoku-kle-cover.png]] |
| 6 | 6 | ||
| 7 | Miryoku is an ergonomic, minimal, orthogonal layout for ergo or ortho keyboards, | 7 | Miryoku is an ergonomic, minimal, orthogonal layout for ergo or ortho keyboards, |
| 8 | implemented as part of the QMK firmware. | 8 | implemented as part of the QMK firmware. |
| @@ -13,23 +13,83 @@ different physical layouts as a subset without code duplication using the QMK | |||
| 13 | userspace feature and C macros. | 13 | userspace feature and C macros. |
| 14 | 14 | ||
| 15 | Please see the [[https://github.com/manna-harbour/qmk_firmware/blob/miryoku/users/manna-harbour_miryoku/miryoku.org][development branch]] for any [[https://github.com/qmk/qmk_firmware/compare/master...manna-harbour:miryoku][updates not yet merged into QMK]]. | 15 | Please see the [[https://github.com/manna-harbour/qmk_firmware/blob/miryoku/users/manna-harbour_miryoku/miryoku.org][development branch]] for any [[https://github.com/qmk/qmk_firmware/compare/master...manna-harbour:miryoku][updates not yet merged into QMK]]. |
| 16 | Additional visualisations are provided outside QMK in the [[https://github.com/manna-harbour/miryoku/blob/master/README.org][Miryoku (Extras) repository]]. | ||
| 17 | 16 | ||
| 18 | * Contents :TOC: | 17 | To checkout the development branch in your existing QMK build environment: |
| 18 | #+BEGIN_SRC sh :tangle no | ||
| 19 | git remote add manna-harbour git@github.com:manna-harbour/qmk_firmware.git # ssh | ||
| 20 | git remote add manna-harbour https://github.com/manna-harbour/qmk_firmware.git # https | ||
| 21 | git fetch manna-harbour | ||
| 22 | git checkout --track manna-harbour/miryoku | ||
| 23 | #+END_SRC | ||
| 24 | |||
| 25 | Additional implementations and visualisations are provided outside QMK in the | ||
| 26 | [[https://github.com/manna-harbour/miryoku/blob/master/README.org][Miryoku (Extras) repository]]. | ||
| 27 | |||
| 28 | |||
| 29 | * Contents :TOC_3: | ||
| 19 | - [[#layout][Layout]] | 30 | - [[#layout][Layout]] |
| 20 | - [[#general-principles][General Principles]] | 31 | - [[#general-principles][General Principles]] |
| 21 | - [[#details][Details]] | 32 | - [[#details][Details]] |
| 22 | - [[#layers][Layers]] | 33 | - [[#layers][Layers]] |
| 34 | - [[#base][Base]] | ||
| 35 | - [[#nav][Nav]] | ||
| 36 | - [[#mouse][Mouse]] | ||
| 37 | - [[#mouse-buttons-overlay][Mouse Buttons Overlay]] | ||
| 38 | - [[#media][Media]] | ||
| 39 | - [[#num][Num]] | ||
| 40 | - [[#sym][Sym]] | ||
| 41 | - [[#fun][Fun]] | ||
| 42 | - [[#alternative-layouts][Alternative Layouts]] | ||
| 23 | - [[#code-generation][Code Generation]] | 43 | - [[#code-generation][Code Generation]] |
| 24 | - [[#table-conversion-scripts][Table Conversion Scripts]] | 44 | - [[#table-conversion-scripts][Table Conversion Scripts]] |
| 45 | - [[#table-layout-taphold][table-layout-taphold]] | ||
| 46 | - [[#table-layout-half][table-layout-half]] | ||
| 47 | - [[#table-layout-full][table-layout-full]] | ||
| 48 | - [[#table-enums][table-enums]] | ||
| 49 | - [[#table-keycode-mappings][table-keycode-mappings]] | ||
| 25 | - [[#data][Data]] | 50 | - [[#data][Data]] |
| 51 | - [[#symbol-names][symbol-names]] | ||
| 52 | - [[#mods][mods]] | ||
| 53 | - [[#nonkc][nonkc]] | ||
| 54 | - [[#header][header]] | ||
| 55 | - [[#license-qmk][license-qmk]] | ||
| 26 | - [[#subset-mapping][Subset Mapping]] | 56 | - [[#subset-mapping][Subset Mapping]] |
| 27 | - [[#userspace][Userspace]] | 57 | - [[#userspace][Userspace]] |
| 58 | - [[#usersmanna-harbour_miryokurulesmk][users/manna-harbour_miryoku/rules.mk]] | ||
| 59 | - [[#usersmanna-harbour_miryokuconfigh][users/manna-harbour_miryoku/config.h]] | ||
| 60 | - [[#usersmanna-harbour_miryokumanna-harbour_miryokuh][users/manna-harbour_miryoku/manna-harbour_miryoku.h]] | ||
| 61 | - [[#usersmanna-harbour_miryokumanna-harbour_miryokuc][users/manna-harbour_miryoku/manna-harbour_miryoku.c]] | ||
| 28 | - [[#layouts][Layouts]] | 62 | - [[#layouts][Layouts]] |
| 63 | - [[#60_ansi][60_ansi]] | ||
| 64 | - [[#ergodox][ergodox]] | ||
| 65 | - [[#ortho_4x10][ortho_4x10]] | ||
| 66 | - [[#ortho_4x12][ortho_4x12]] | ||
| 67 | - [[#ortho_5x12][ortho_5x12]] | ||
| 68 | - [[#ortho_5x15][ortho_5x15]] | ||
| 69 | - [[#planck_mit][planck_mit]] | ||
| 70 | - [[#split_3x5_3][split_3x5_3]] | ||
| 71 | - [[#split_3x6_3][split_3x6_3]] | ||
| 29 | - [[#keyboards][Keyboards]] | 72 | - [[#keyboards][Keyboards]] |
| 73 | - [[#atreus][atreus]] | ||
| 74 | - [[#ergotravel][ergotravel]] | ||
| 75 | - [[#for_science][for_science]] | ||
| 76 | - [[#gergo][gergo]] | ||
| 77 | - [[#handwireddactyl_manuform4x5][handwired/dactyl_manuform/4x5]] | ||
| 78 | - [[#handwireddactyl_manuform5x6][handwired/dactyl_manuform/5x6]] | ||
| 79 | - [[#keebioiris][keebio/iris]] | ||
| 80 | - [[#keyboardioatreus][keyboardio/atreus]] | ||
| 81 | - [[#kyria][kyria]] | ||
| 82 | - [[#lily58][lily58]] | ||
| 83 | - [[#moonlander][moonlander]] | ||
| 84 | - [[#redox_w][redox_w]] | ||
| 85 | - [[#sofle][sofle]] | ||
| 86 | - [[#torn][torn]] | ||
| 87 | - [[#customisation][Customisation]] | ||
| 88 | - [[#examples][Examples]] | ||
| 89 | - [[#experimental-features][Experimental Features]] | ||
| 90 | - [[#bilateral-combinations][Bilateral Combinations]] | ||
| 91 | - [[#retro-shift][Retro Shift]] | ||
| 30 | - [[#documentation][Documentation]] | 92 | - [[#documentation][Documentation]] |
| 31 | - [[#qmk][QMK]] | ||
| 32 | - [[#org-mode][Org Mode]] | ||
| 33 | - [[#contact][Contact]] | 93 | - [[#contact][Contact]] |
| 34 | 94 | ||
| 35 | * Layout | 95 | * Layout |
| @@ -70,184 +130,465 @@ Additional visualisations are provided outside QMK in the [[https://github.com/m | |||
| 70 | thumbs, but thumb tap keys are mirrored onto some layers for use with | 130 | thumbs, but thumb tap keys are mirrored onto some layers for use with |
| 71 | auto-repeat. On other layers thumb keys are redefined with important | 131 | auto-repeat. On other layers thumb keys are redefined with important |
| 72 | functions for that layer. | 132 | functions for that layer. |
| 133 | - Auto Shift for numbers and symbols. | ||
| 73 | 134 | ||
| 74 | 135 | ||
| 75 | ** Layers | 136 | ** Layers |
| 76 | 137 | ||
| 77 | The layers are maintained in tables, with the thumb keys on the bottom row. NP | 138 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-reference.png]] |
| 78 | indicates the key is not present and is used to fill in the table around the | 139 | |
| 79 | thumb keys. The grid arrangement of the tables does not imply a particular | 140 | The layers are maintained in tables. ~U_NP~ indicates the key is not present |
| 80 | physical layout. | 141 | and is used to fill in the table around the thumb keys. The grid arrangement of |
| 142 | the tables does not imply a particular physical layout. | ||
| 143 | |||
| 144 | Basic keycodes are entered without the ~KC_~ prefix. Symbols can be entered | ||
| 145 | as-is, except for '-' (~MINS~), '.' (~DOT~), '|' (~PIPE~), and '"' (~DQUO~). | ||
| 146 | Empty cells are unused. | ||
| 147 | |||
| 148 | The base layer is maintained as separate tables for tap alphas, tap thumbs, and | ||
| 149 | hold. Other layers are specified as a single hand including thumbs. Tables are | ||
| 150 | combined to produce the keymap for each layer. | ||
| 81 | 151 | ||
| 82 | Basic keycodes are entered without the KC_ prefix. Symbols can be entered as-is | 152 | Mods (and reset) will be available on sub layers on the same hand as the layer |
| 83 | (excepting '"' (DQUO) and '|' (PIPE)). Empty cells are unused. | 153 | change thumb key. Unknown names are considered to be layer names. |
| 84 | 154 | ||
| 85 | The base layer has both halves of the layout joined for convenience. Other | ||
| 86 | layers are specified as a single hand. | ||
| 87 | 155 | ||
| 88 | *** Base (BASE) | 156 | *** Base |
| 89 | 157 | ||
| 158 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-base.png]] | ||
| 90 | 159 | ||
| 91 | The base layer is maintained as separate tap and hold tables and are combined | 160 | The base layer alphas are Colemak Mod-DH. Dot, comma, slash, and apostrophe are |
| 92 | into the corresponding tap-hold keycodes for mods and layer change. RST and | 161 | included with the alphas. The primary, secondary, and tertiary thumb keys are |
| 93 | mods will be available on sub layers on the same hand as the layer change thumb | 162 | backspace, enter, delete on the right and space, tab, escape on the left. |
| 94 | key. Unknown names are considered to be layer names. | 163 | |
| 164 | Alternative alpha arrangements are also available. | ||
| 95 | 165 | ||
| 96 | Base layer alphas are Colemak-DHm. Thumb keys are backspace, enter, delete on | ||
| 97 | the right and space, tab, escape on the left. Dot, comma and apostrophe are | ||
| 98 | included for prose, dot and slash for file and directory names. | ||
| 99 | 166 | ||
| 100 | **** Tap | 167 | **** Tap |
| 101 | 168 | ||
| 102 | #+NAME: colemakdhm | 169 | |
| 103 | | Q | W | F | P | B | J | L | U | Y | ' | | 170 | ***** Alphas |
| 104 | | A | R | S | T | G | M | N | E | I | O | | 171 | |
| 105 | | Z | X | C | D | V | K | H | , | . | / | | 172 | #+NAME: colemakdh |
| 106 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | 173 | | Q | W | F | P | B | J | L | U | Y | ' | |
| 174 | | A | R | S | T | G | M | N | E | I | O | | ||
| 175 | | Z | X | C | D | V | K | H | , | DOT | / | | ||
| 176 | |||
| 177 | |||
| 178 | ***** Thumbs | ||
| 179 | |||
| 180 | #+NAME: thumbs | ||
| 181 | | U_NP | U_NP | ESC | SPC | TAB | ENT | BSPC | DEL | U_NP | U_NP | | ||
| 107 | 182 | ||
| 108 | 183 | ||
| 109 | **** Hold | 184 | **** Hold |
| 110 | 185 | ||
| 111 | #+NAME: hold | 186 | #+NAME: hold |
| 112 | | RST | | | | | | | | | RST | | 187 | | RESET | | | | | | | | | RESET | |
| 113 | | LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | | 188 | | LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | |
| 114 | | | ALGR | | | | | | | ALGR | | | 189 | | | ALGR | | | | | | | ALGR | | |
| 115 | | NP | NP | MEDR | NAVR | MOUR | NSSL | NSL | FUNL | NP | NP | | 190 | | U_NP | U_NP | MEDIA | NAV | MOUSE | SYM | NUM | FUN | U_NP | U_NP | |
| 116 | 191 | ||
| 117 | 192 | ||
| 118 | **** Alternative Base Layer Alphas | 193 | *** Nav |
| 119 | 194 | ||
| 120 | Alternative base layer alphas are provided. To select, append | 195 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-nav.png]] |
| 121 | e.g. ~MIRYOKU_ALPHAS=QWERTY~ to the make command line when building. | ||
| 122 | 196 | ||
| 123 | ***** QWERTY (QWERTY) | 197 | Primary right-hand layer (left home thumb) is navigation and editing. Cursor |
| 124 | #+NAME: qwerty | 198 | keys are on the home position, line and page movement below, clipboard above, |
| 125 | | Q | W | E | R | T | Y | U | I | O | P | | 199 | caps lock and insert on the inner column. Thumb keys are duplicated from the |
| 126 | | A | S | D | F | G | H | J | K | L | ' | | 200 | base layer to avoid having to layer change mid edit and to enable auto-repeat. |
| 127 | | Z | X | C | V | B | N | M | , | . | / | | ||
| 128 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | ||
| 129 | 201 | ||
| 202 | Alternative clipboard key mappings and navigation key arrangements are | ||
| 203 | available. | ||
| 130 | 204 | ||
| 131 | ***** Dvorak (DVORAK) | 205 | #+NAME: nav-r |
| 132 | #+NAME: dvorak | 206 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | |
| 133 | | ' | , | . | P | Y | F | G | C | R | L | | 207 | | CAPS | LEFT | DOWN | UP | RGHT | |
| 134 | | A | O | E | U | I | D | H | T | N | S | | 208 | | INS | HOME | PGDN | PGUP | END | |
| 135 | | / | Q | J | K | X | B | M | W | V | Z | | 209 | | ENT | BSPC | DEL | U_NP | U_NP | |
| 136 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | ||
| 137 | 210 | ||
| 138 | 211 | ||
| 139 | ***** Colemak (COLEMAK) | 212 | *** Mouse |
| 213 | |||
| 214 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-mouse.png]] | ||
| 215 | |||
| 216 | Secondary right-hand layer is mouse emulation. Mouse movement mirrors cursor | ||
| 217 | navigation on home and wheel mirrors line / page movement below. Buttons are on | ||
| 218 | the thumbs (L, M, R). Mouse movement, click, and drag, with modifiers, can be | ||
| 219 | performed from the home position. Clipboard keys are duplicated from the Nav | ||
| 220 | layer. | ||
| 221 | |||
| 222 | #+NAME: mouse-r | ||
| 223 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | | ||
| 224 | | | MS_L | MS_D | MS_U | MS_R | | ||
| 225 | | | WH_L | WH_D | WH_U | WH_R | | ||
| 226 | | BTN1 | BTN3 | BTN2 | U_NP | U_NP | | ||
| 227 | |||
| 228 | |||
| 229 | *** Mouse Buttons Overlay | ||
| 230 | |||
| 231 | Available for automatic activation depending on keyboard hardware and | ||
| 232 | configuration. Not activated manually. | ||
| 233 | |||
| 234 | #+NAME: mbo | ||
| 235 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | U_RDO | U_PST | U_CPY | U_CUT | U_UND | | ||
| 236 | | LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | | ||
| 237 | | | | | | | | | | | | | ||
| 238 | | U_NP | U_NP | BTN2 | BTN3 | BTN1 | BTN1 | BTN3 | BTN2 | U_NP | U_NP | | ||
| 239 | |||
| 240 | |||
| 241 | *** Media | ||
| 242 | |||
| 243 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-media.png]] | ||
| 244 | |||
| 245 | Tertiary right-hand layer is media control, with volume up / down and next / | ||
| 246 | prev mirroring the navigation keys. Pause, stop and mute are on thumbs. RGB | ||
| 247 | control is on the top row (combine with shift to invert). Unused keys are | ||
| 248 | available for other related functions. | ||
| 249 | |||
| 250 | #+NAME: media-r | ||
| 251 | | RGB_TOG | RGB_MOD | RGB_HUI | RGB_SAI | RGB_VAI | | ||
| 252 | | | MPRV | VOLD | VOLU | MNXT | | ||
| 253 | | | | | | | | ||
| 254 | | MSTP | MPLY | MUTE | U_NP | U_NP | | ||
| 255 | |||
| 256 | |||
| 257 | *** Num | ||
| 258 | |||
| 259 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-num.png]] | ||
| 260 | |||
| 261 | Primary left-hand layer (right home thumb) is numerals and symbols. Numerals | ||
| 262 | are in the standard numpad locations with symbols in the remaining positions. | ||
| 263 | Dot is duplicated from the base layer. | ||
| 264 | |||
| 265 | #+NAME: num-l | ||
| 266 | | [ | 7 | 8 | 9 | ] | | ||
| 267 | | ; | 4 | 5 | 6 | = | | ||
| 268 | | ` | 1 | 2 | 3 | \ | | ||
| 269 | | U_NP | U_NP | DOT | 0 | MINS | | ||
| 270 | |||
| 271 | |||
| 272 | *** Sym | ||
| 273 | |||
| 274 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-sym.png]] | ||
| 275 | |||
| 276 | Secondary left-hand layer has shifted symbols in the same locations to reduce | ||
| 277 | chording when using mods with shifted symbols. Open parenthesis is duplicated | ||
| 278 | next to close parenthesis. | ||
| 279 | |||
| 280 | #+NAME: sym-l | ||
| 281 | | { | & | * | ( | } | | ||
| 282 | | : | $ | % | ^ | + | | ||
| 283 | | ~ | ! | @ | # | PIPE | | ||
| 284 | | U_NP | U_NP | ( | ) | _ | | ||
| 285 | |||
| 286 | |||
| 287 | *** Fun | ||
| 288 | |||
| 289 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-fun.png]] | ||
| 290 | |||
| 291 | Tertiary left-hand layer has function keys mirroring the numerals on the primary | ||
| 292 | layer with extras on the pinkie column, plus system keys on the inner column. | ||
| 293 | App (menu) is on the tertiary thumb key and other thumb keys are duplicated from | ||
| 294 | the base layer to enable auto-repeat. | ||
| 295 | |||
| 296 | |||
| 297 | #+NAME: fun-l | ||
| 298 | | F12 | F7 | F8 | F9 | PSCR | | ||
| 299 | | F11 | F4 | F5 | F6 | SLCK | | ||
| 300 | | F10 | F1 | F2 | F3 | PAUS | | ||
| 301 | | U_NP | U_NP | APP | SPC | TAB | | ||
| 302 | |||
| 303 | |||
| 304 | *** Alternative Layouts | ||
| 305 | |||
| 306 | The defaults are recommended, but alternative layouts are provided to | ||
| 307 | accommodate existing muscle memory and platform differences. | ||
| 308 | |||
| 309 | |||
| 310 | **** Alphas | ||
| 311 | |||
| 312 | To select, append the corresponding option to the ~make~ command line when | ||
| 313 | building, e.g. ~MIRYOKU_ALPHAS=QWERTY~. | ||
| 314 | |||
| 315 | |||
| 316 | ***** Colemak | ||
| 317 | |||
| 318 | ~MIRYOKU_ALPHAS=COLEMAK~ | ||
| 319 | |||
| 140 | #+NAME: colemak | 320 | #+NAME: colemak |
| 141 | | Q | W | F | P | G | J | L | U | Y | ' | | 321 | | Q | W | F | P | G | J | L | U | Y | ' | |
| 142 | | A | R | S | T | D | H | N | E | I | O | | 322 | | A | R | S | T | D | H | N | E | I | O | |
| 143 | | Z | X | C | V | B | K | M | , | . | / | | 323 | | Z | X | C | V | B | K | M | , | DOT | / | |
| 144 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | ||
| 145 | 324 | ||
| 146 | 325 | ||
| 147 | ***** Colemak Mod-DH (COLEMAKDH) | 326 | ***** Colemak Mod-DHk |
| 148 | #+NAME: colemakdh | 327 | |
| 328 | ~MIRYOKU_ALPHAS=COLEMAKDHK~ | ||
| 329 | |||
| 330 | #+NAME: colemakdhk | ||
| 149 | | Q | W | F | P | B | J | L | U | Y | ' | | 331 | | Q | W | F | P | B | J | L | U | Y | ' | |
| 150 | | A | R | S | T | G | K | N | E | I | O | | 332 | | A | R | S | T | G | K | N | E | I | O | |
| 151 | | Z | X | C | D | V | M | H | , | . | / | | 333 | | Z | X | C | D | V | M | H | , | DOT | / | |
| 152 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | 334 | |
| 153 | 335 | ||
| 336 | ***** Dvorak | ||
| 337 | |||
| 338 | ~MIRYOKU_ALPHAS=DVORAK~ | ||
| 339 | |||
| 340 | #+NAME: dvorak | ||
| 341 | | ' | , | DOT | P | Y | F | G | C | R | L | | ||
| 342 | | A | O | E | U | I | D | H | T | N | S | | ||
| 343 | | / | Q | J | K | X | B | M | W | V | Z | | ||
| 344 | |||
| 345 | |||
| 346 | ***** Halmak | ||
| 347 | |||
| 348 | ~MIRYOKU_ALPHAS=HALMAK~ | ||
| 349 | |||
| 350 | #+NAME: halmak | ||
| 351 | | W | L | R | B | Z | ' | Q | U | D | J | | ||
| 352 | | S | H | N | T | , | DOT | A | E | O | I | | ||
| 353 | | F | M | V | C | / | G | P | X | K | Y | | ||
| 354 | |||
| 355 | |||
| 356 | ***** Workman | ||
| 357 | |||
| 358 | ~MIRYOKU_ALPHAS=WORKMAN~ | ||
| 154 | 359 | ||
| 155 | ***** Workman (WORKMAN) | ||
| 156 | #+NAME: workman | 360 | #+NAME: workman |
| 157 | | Q | D | R | W | B | J | F | U | P | ' | | 361 | | Q | D | R | W | B | J | F | U | P | ' | |
| 158 | | A | S | H | T | G | Y | N | E | O | I | | 362 | | A | S | H | T | G | Y | N | E | O | I | |
| 159 | | Z | X | M | C | V | K | L | , | . | / | | 363 | | Z | X | M | C | V | K | L | , | DOT | / | |
| 160 | | NP | NP | ESC | SPC | TAB | ENT | BSPC | DEL | NP | NP | | ||
| 161 | 364 | ||
| 162 | 365 | ||
| 366 | ***** QWERTY | ||
| 163 | 367 | ||
| 164 | *** Navigation (NAVR) | 368 | ~MIRYOKU_ALPHAS=QWERTY~ |
| 165 | 369 | ||
| 166 | Primary right-hand layer (left home thumb) is navigation and editing. Cursor | 370 | #+NAME: qwerty |
| 167 | keys are on the home position, line and page movement below, clipboard above, | 371 | | Q | W | E | R | T | Y | U | I | O | P | |
| 168 | caps and insert on the inner column. Thumb keys are duplicated from the base | 372 | | A | S | D | F | G | H | J | K | L | ' | |
| 169 | layer to avoid having to layer change mid edit and to enable auto-repeat. | 373 | | Z | X | C | V | B | N | M | , | DOT | / | |
| 170 | 374 | ||
| 171 | #+NAME: navr | ||
| 172 | | AGIN | UNDO | CUT | COPY | PSTE | | ||
| 173 | | CAPS | LEFT | DOWN | UP | RGHT | | ||
| 174 | | INS | HOME | PGDN | PGUP | END | | ||
| 175 | | ENT | BSPC | DEL | NP | NP | | ||
| 176 | 375 | ||
| 376 | **** Nav | ||
| 177 | 377 | ||
| 178 | *** Mouse (MOUR) | ||
| 179 | 378 | ||
| 180 | Secondary RH layer is mouse emulation. Mouse movement mirrors cursor navigation | 379 | ***** vi-Style |
| 181 | on home and wheel mirrors line / page movement below. Buttons are on the thumbs | ||
| 182 | (L, M, R). Mouse movement, click, and drag with modifiers can be performed from | ||
| 183 | the home position. Unused keys are available for other related functions. | ||
| 184 | 380 | ||
| 185 | #+NAME: mour | 381 | To select, append ~MIRYOKU_NAV=VI~ to the ~make~ command line when building. |
| 186 | | | | | | | | 382 | Not available with ~MIRYOKU_LAYERS=FLIP~. |
| 187 | | | MS_L | MS_D | MS_U | MS_R | | ||
| 188 | | | WH_L | WH_D | WH_U | WH_R | | ||
| 189 | | BTN1 | BTN3 | BTN2 | NP | NP | | ||
| 190 | 383 | ||
| 191 | 384 | ||
| 192 | **** Mouse Buttons Overlay (MBO) | 385 | ****** Nav |
| 193 | 386 | ||
| 194 | Available for automatic activation depending on keyboard hardware and | 387 | #+NAME: nav-r-vi |
| 195 | configuration. Not activated manually. | 388 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | |
| 389 | | LEFT | DOWN | UP | RGHT | CAPS | | ||
| 390 | | HOME | PGDN | PGUP | END | INS | | ||
| 391 | | ENT | BSPC | DEL | U_NP | U_NP | | ||
| 196 | 392 | ||
| 197 | #+NAME: mbo | ||
| 198 | | | | | | | | | | | | | ||
| 199 | | | | | | | | | | | | | ||
| 200 | | | | | | | | | | | | | ||
| 201 | | NP | NP | | | | BTN1 | BTN3 | BTN2 | NP | NP | | ||
| 202 | 393 | ||
| 394 | ****** Mouse | ||
| 203 | 395 | ||
| 204 | *** Media (MEDR) | 396 | #+NAME: mouse-r-vi |
| 397 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | | ||
| 398 | | MS_L | MS_D | MS_U | MS_R | | | ||
| 399 | | WH_L | WH_D | WH_U | WH_R | | | ||
| 400 | | BTN1 | BTN3 | BTN2 | U_NP | U_NP | | ||
| 205 | 401 | ||
| 206 | Tertiary RH layer is media control, with volume up / down and next / prev | ||
| 207 | mirroring the navigation keys. Pause, stop and mute are on thumbs. RGB control | ||
| 208 | is on the top row (combine with shift to invert). Unused keys are available for | ||
| 209 | other related functions. | ||
| 210 | 402 | ||
| 211 | #+NAME: medr | 403 | ****** Media |
| 212 | | TOG | MOD | HUI | SAI | VAI | | ||
| 213 | | | MPRV | VOLD | VOLU | MNXT | | ||
| 214 | | | | | | | | ||
| 215 | | MSTP | MPLY | MUTE | NP | NP | | ||
| 216 | 404 | ||
| 405 | #+NAME: media-r-vi | ||
| 406 | | RGB_TOG | RGB_MOD | RGB_HUI | RGB_SAI | RGB_VAI | | ||
| 407 | | MPRV | VOLD | VOLU | MNXT | | | ||
| 408 | | | | | | | | ||
| 409 | | MSTP | MPLY | MUTE | U_NP | U_NP | | ||
| 217 | 410 | ||
| 218 | *** Numerals and Symbols (NSL) | ||
| 219 | 411 | ||
| 220 | Primary left-hand layer (right home thumb) is numerals and symbols. Numerals | 412 | ***** Inverted-T |
| 221 | are in the standard numpad locations with symbols in the remaining positions. | ||
| 222 | Dot is duplicated from the base layer for convenience. | ||
| 223 | 413 | ||
| 224 | #+NAME: nsl | 414 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/layers/miryoku-kle-reference-flip-invertedt.png]] |
| 225 | | [ | 7 | 8 | 9 | ] | | ||
| 226 | | ; | 4 | 5 | 6 | = | | ||
| 227 | | ` | 1 | 2 | 3 | \ | | ||
| 228 | | NP | NP | . | 0 | - | | ||
| 229 | 415 | ||
| 416 | To select, append ~MIRYOKU_NAV=INVERTEDT~ to the ~make~ command line when | ||
| 417 | building. Only available with ~MIRYOKU_LAYERS=FLIP~. | ||
| 230 | 418 | ||
| 231 | *** Shifted Numerals and Symbols (NSSL) | ||
| 232 | 419 | ||
| 233 | Secondary LH layer has shifted symbols in the same locations to reduce chording | 420 | ****** Nav |
| 234 | when using mods with shifted symbols. Automatically generated from unshifted | ||
| 235 | table. | ||
| 236 | 421 | ||
| 422 | #+NAME: nav-l-invertedt | ||
| 423 | | PGUP | HOME | UP | END | INS | | ||
| 424 | | PGDN | LEFT | DOWN | RGHT | CAPS | | ||
| 425 | | U_UND | U_CUT | U_CPY | U_PST | U_RDO | | ||
| 426 | | U_NP | U_NP | DEL | BSPC | ENT | | ||
| 237 | 427 | ||
| 238 | *** Function and System (FUNL) | ||
| 239 | 428 | ||
| 240 | Tertiary LH layer has function keys mirroring the numerals on the primary layer | 429 | ****** Mouse |
| 241 | with extras on the pinkie column, plus system keys on the inner column. App | ||
| 242 | (menu) is on the tertiary thumb key and other thumb keys are duplicated from the | ||
| 243 | base layer to enable auto-repeat. | ||
| 244 | 430 | ||
| 431 | #+NAME: mouse-l-invertedt | ||
| 432 | | WH_U | WH_L | MS_U | WH_R | | | ||
| 433 | | WH_D | MS_L | MS_D | MS_R | | | ||
| 434 | | U_UND | U_CUT | U_CPY | U_PST | U_RDO | | ||
| 435 | | U_NP | U_NP | BTN2 | BTN3 | BTN1 | | ||
| 436 | |||
| 437 | |||
| 438 | ****** Media | ||
| 439 | |||
| 440 | #+NAME: media-l-invertedt | ||
| 441 | | | | VOLU | | | | ||
| 442 | | | MPRV | VOLD | MNXT | | | ||
| 443 | | RGB_MOD | RGB_HUI | RGB_SAI | RGB_VAI | RGB_TOG | | ||
| 444 | | U_NP | U_NP | MUTE | MPLY | MSTP | | ||
| 445 | |||
| 446 | |||
| 447 | **** Clipboard | ||
| 448 | |||
| 449 | Keycodes are translated according to the following tables. | ||
| 450 | |||
| 451 | By default, the main clipboard keys (cut, copy, and paste) use the CUA bindings | ||
| 452 | and should work in general unix and windows applications, emacs, and terminal | ||
| 453 | emulators. The additional keys (undo, redo) usually require rebinding in the | ||
| 454 | application. | ||
| 455 | |||
| 456 | To select, append the corresponding option to the ~make~ command line when | ||
| 457 | building, e.g. ~MIRYOKU_CLIPBOARD=WIN~. | ||
| 458 | |||
| 459 | |||
| 460 | ***** Default | ||
| 461 | |||
| 462 | #+NAME: clipboard | ||
| 463 | | U_RDO | AGIN | | ||
| 464 | | U_PST | S(KC_INS) | | ||
| 465 | | U_CPY | C(KC_INS) | | ||
| 466 | | U_CUT | S(KC_DEL) | | ||
| 467 | | U_UND | UNDO | | ||
| 468 | |||
| 469 | |||
| 470 | ***** Fun Cluster | ||
| 471 | |||
| 472 | ~MIRYOKU_CLIPBOARD=FUN~ | ||
| 473 | |||
| 474 | #+NAME: clipboard-fun | ||
| 475 | | U_RDO | AGIN | | ||
| 476 | | U_PST | PSTE | | ||
| 477 | | U_CPY | COPY | | ||
| 478 | | U_CUT | CUT | | ||
| 479 | | U_UND | UNDO | | ||
| 245 | 480 | ||
| 246 | #+NAME: funl | 481 | |
| 247 | | F12 | F7 | F8 | F9 | PSCR | | 482 | ***** Mac |
| 248 | | F11 | F4 | F5 | F6 | SLCK | | 483 | |
| 249 | | F10 | F1 | F2 | F3 | PAUS | | 484 | ~MIRYOKU_CLIPBOARD=MAC~ |
| 250 | | NP | NP | APP | SPC | TAB | | 485 | |
| 486 | #+NAME: clipboard-mac | ||
| 487 | | U_RDO | SCMD(KC_Z) | | ||
| 488 | | U_PST | LCMD(KC_V) | | ||
| 489 | | U_CPY | LCMD(KC_C) | | ||
| 490 | | U_CUT | LCMD(KC_X) | | ||
| 491 | | U_UND | LCMD(KC_Z) | | ||
| 492 | |||
| 493 | |||
| 494 | ***** Windows | ||
| 495 | |||
| 496 | ~MIRYOKU_CLIPBOARD=WIN~ | ||
| 497 | |||
| 498 | #+NAME: clipboard-win | ||
| 499 | | U_RDO | C(KC_Y) | | ||
| 500 | | U_PST | C(KC_V) | | ||
| 501 | | U_CPY | C(KC_C) | | ||
| 502 | | U_CUT | C(KC_X) | | ||
| 503 | | U_UND | C(KC_Z) | | ||
| 504 | |||
| 505 | |||
| 506 | **** Layers | ||
| 507 | |||
| 508 | |||
| 509 | ***** Flip | ||
| 510 | |||
| 511 | Flip base layer thumb keys and sub layers between right and left hands. | ||
| 512 | |||
| 513 | To select, append ~MIRYOKU_LAYERS=FLIP~ to the ~make~ command line when building. | ||
| 514 | |||
| 515 | |||
| 516 | ****** Thumbs | ||
| 517 | |||
| 518 | #+NAME: thumbs-flip | ||
| 519 | | U_NP | U_NP | DEL | BSPC | ENT | TAB | SPC | ESC | U_NP | U_NP | | ||
| 520 | |||
| 521 | |||
| 522 | ****** Hold | ||
| 523 | |||
| 524 | #+NAME: hold-flip | ||
| 525 | | RESET | | | | | | | | | RESET | | ||
| 526 | | LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | | ||
| 527 | | | ALGR | | | | | | | ALGR | | | ||
| 528 | | U_NP | U_NP | FUN | NUM | SYM | MOUSE | NAV | MEDIA | U_NP | U_NP | | ||
| 529 | |||
| 530 | |||
| 531 | ****** Nav | ||
| 532 | |||
| 533 | #+NAME: nav-l | ||
| 534 | | HOME | PGDN | PGUP | END | INS | | ||
| 535 | | LEFT | DOWN | UP | RGHT | CAPS | | ||
| 536 | | U_UND | U_CUT | U_CPY | U_PST | U_RDO | | ||
| 537 | | U_NP | U_NP | DEL | BSPC | ENT | | ||
| 538 | |||
| 539 | |||
| 540 | ****** Mouse | ||
| 541 | |||
| 542 | #+NAME: mouse-l | ||
| 543 | | WH_L | WH_D | WH_U | WH_R | | | ||
| 544 | | MS_L | MS_D | MS_U | MS_R | | | ||
| 545 | | U_UND | U_CUT | U_CPY | U_PST | U_RDO | | ||
| 546 | | U_NP | U_NP | BTN2 | BTN3 | BTN1 | | ||
| 547 | |||
| 548 | |||
| 549 | ****** Mouse Buttons Overlay | ||
| 550 | |||
| 551 | #+NAME: mbo-flip | ||
| 552 | | | | | | | | | | | | | ||
| 553 | | LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | | ||
| 554 | | U_RDO | U_PST | U_CPY | U_CUT | U_UND | U_RDO | U_PST | U_CPY | U_CUT | U_UND | | ||
| 555 | | U_NP | U_NP | BTN2 | BTN3 | BTN1 | BTN1 | BTN3 | BTN2 | U_NP | U_NP | | ||
| 556 | |||
| 557 | |||
| 558 | ****** Media | ||
| 559 | |||
| 560 | #+NAME: media-l | ||
| 561 | | RGB_MOD | RGB_HUI | RGB_SAI | RGB_VAI | RGB_TOG | | ||
| 562 | | MPRV | VOLD | VOLU | MNXT | | | ||
| 563 | | | | | | | | ||
| 564 | | U_NP | U_NP | MUTE | MPLY | MSTP | | ||
| 565 | |||
| 566 | |||
| 567 | ****** Num | ||
| 568 | |||
| 569 | #+NAME: num-r | ||
| 570 | | [ | 7 | 8 | 9 | ] | | ||
| 571 | | = | 4 | 5 | 6 | ; | | ||
| 572 | | \ | 1 | 2 | 3 | ` | | ||
| 573 | | MINS | 0 | DOT | U_NP | U_NP | | ||
| 574 | |||
| 575 | |||
| 576 | ****** Sym | ||
| 577 | |||
| 578 | #+NAME: sym-r | ||
| 579 | | { | & | * | ( | } | | ||
| 580 | | + | $ | % | ^ | : | | ||
| 581 | | PIPE | ! | @ | # | ~ | | ||
| 582 | | _ | ( | ) | U_NP | U_NP | | ||
| 583 | |||
| 584 | |||
| 585 | ****** Fun | ||
| 586 | |||
| 587 | #+NAME: fun-r | ||
| 588 | | PSCR | F7 | F8 | F9 | F12 | | ||
| 589 | | SLCK | F4 | F5 | F6 | F11 | | ||
| 590 | | PAUS | F1 | F2 | F3 | F10 | | ||
| 591 | | TAB | SPC | APP | U_NP | U_NP | | ||
| 251 | 592 | ||
| 252 | 593 | ||
| 253 | *** COMMENT Templates | 594 | *** COMMENT Templates |
| @@ -258,84 +599,87 @@ base layer to enable auto-repeat. | |||
| 258 | | | | | | | | | | | | | 599 | | | | | | | | | | | | |
| 259 | | | | | | | | | | | | | 600 | | | | | | | | | | | | |
| 260 | | | | | | | | | | | | | 601 | | | | | | | | | | | | |
| 261 | | NP | NP | | | | | | | NP | NP | | 602 | | U_NP | U_NP | | | | | | | U_NP | U_NP | |
| 262 | 603 | ||
| 263 | 604 | ||
| 264 | Duplicate base layer tap keys on thumbs rather than trans to enable auto-repeat. | 605 | Duplicate base layer tap keys on thumbs rather than trans to enable auto-repeat. |
| 265 | 606 | ||
| 266 | #+NAME: temr | 607 | #+NAME: tem-r |
| 267 | | <l4> | <l4> | <l4> | <l4> | <l4> | | 608 | | <l4> | <l4> | <l4> | <l4> | <l4> | |
| 268 | |------+------+------+------+------| | 609 | |------+------+------+------+------| |
| 269 | | | | | | | | 610 | | | | | | | |
| 270 | | | | | | | | 611 | | | | | | | |
| 271 | | | | | | | | 612 | | | | | | | |
| 272 | | ENT | BSPC | DEL | NP | NP | | 613 | | ENT | BSPC | DEL | U_NP | U_NP | |
| 273 | 614 | ||
| 274 | #+NAME: teml | 615 | #+NAME: tem-l |
| 275 | | <l4> | <l4> | <l4> | <l4> | <l4> | | 616 | | <l4> | <l4> | <l4> | <l4> | <l4> | |
| 276 | |------+------+------+------+------| | 617 | |------+------+------+------+------| |
| 277 | | | | | | | | 618 | | | | | | | |
| 278 | | | | | | | | 619 | | | | | | | |
| 279 | | | | | | | | 620 | | | | | | | |
| 280 | | NP | NP | ESC | SPC | TAB | | 621 | | U_NP | U_NP | ESC | SPC | TAB | |
| 281 | 622 | ||
| 282 | 623 | ||
| 283 | * Code Generation | 624 | * Code Generation |
| 284 | 625 | ||
| 626 | |||
| 285 | ** Table Conversion Scripts | 627 | ** Table Conversion Scripts |
| 286 | 628 | ||
| 629 | |||
| 287 | *** table-layout-taphold | 630 | *** table-layout-taphold |
| 288 | 631 | ||
| 289 | Produce base layer from separate tap and hold tables. | 632 | Produce base layer from separate tap and hold tables. |
| 290 | 633 | ||
| 291 | #+NAME: table-layout-taphold | 634 | #+NAME: table-layout-taphold |
| 292 | #+BEGIN_SRC python :var layer_name="BASE" :var tap_table=colemakdhm :var hold_table=hold :var symbol_names_table=symbol-names :var mods_list=mods :tangle no :results verbatim | 635 | #+BEGIN_SRC python :var alphas_table=colemakdh :var thumbs_table=thumbs :var hold_table=hold :var symbol_names_table=symbol-names :var mods_table=mods :var nonkc_table=nonkc :tangle no :results verbatim |
| 293 | width = 19 | 636 | width = 19 |
| 294 | mods_dict = dict.fromkeys(mods_list) | 637 | mods_dict = dict.fromkeys(mods_table[0]) |
| 638 | nonkc_tuple = tuple(nonkc_table[0]) | ||
| 295 | symbol_names_dict = {} | 639 | symbol_names_dict = {} |
| 296 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: | 640 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: |
| 297 | symbol_names_dict[symbol] = name | 641 | symbol_names_dict[symbol] = name |
| 298 | symbol_names_dict[shifted_symbol] = shifted_name | 642 | symbol_names_dict[shifted_symbol] = shifted_name |
| 299 | results = ' [' + layer_name + '] = LAYOUT_miryoku(\n' | 643 | results = '' |
| 300 | for tap_row, hold_row in map(None, tap_table, hold_table): | 644 | for tap_row, hold_row in zip(alphas_table + thumbs_table, hold_table): |
| 301 | results += ' ' | 645 | results += ' ' |
| 302 | for tap, hold in map(None, tap_row, hold_row): | 646 | for tap, hold in zip(tap_row, hold_row): |
| 303 | if tap == '': | 647 | if tap == '': |
| 304 | code = 'NU' | 648 | code = 'U_NU' |
| 305 | elif tap in symbol_names_dict: | 649 | elif tap in symbol_names_dict: |
| 306 | code = symbol_names_dict[tap] | 650 | code = symbol_names_dict[tap] |
| 307 | else: | 651 | else: |
| 308 | code = tap | 652 | code = tap |
| 309 | code = 'KC_' + str(code) | 653 | if not str(code).startswith(nonkc_tuple): |
| 654 | code = 'KC_' + str(code) | ||
| 310 | if hold in mods_dict: | 655 | if hold in mods_dict: |
| 311 | code = str(hold) + '_T(' + code + ')' | 656 | code = str(hold) + '_T(' + code + ')' |
| 312 | elif hold != '' and hold != 'NP' and hold != 'RST': | 657 | elif hold != '' and hold != 'U_NP' and hold != 'RESET': |
| 313 | code = 'LT(' + str(hold) + ', ' + code + ')' | 658 | code = 'LT(' + str(hold) + ', ' + code + ')' |
| 314 | results += (code + ', ').ljust(width) | 659 | results += (code + ', ').ljust(width) |
| 315 | results = results.rstrip(' ') + '\n' | 660 | results = results.rstrip(' ') + '\n' |
| 316 | results = results.rstrip('\n, ') + '\n )' | 661 | results = results.rstrip('\n, ') |
| 317 | return results | 662 | return results |
| 318 | #+END_SRC | 663 | #+END_SRC |
| 319 | 664 | ||
| 320 | #+RESULTS: table-layout-taphold | 665 | #+RESULTS: table-layout-taphold |
| 321 | : [BASE] = LAYOUT_miryoku( | ||
| 322 | : KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, | 666 | : KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, |
| 323 | : LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), | 667 | : LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), |
| 324 | : KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, | 668 | : KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH, |
| 325 | : KC_NP, KC_NP, LT(MEDR, KC_ESC), LT(NAVR, KC_SPC), LT(MOUR, KC_TAB), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_NP, KC_NP | 669 | : U_NP, U_NP, LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), U_NP, U_NP |
| 326 | : ) | ||
| 327 | 670 | ||
| 328 | 671 | ||
| 329 | *** table-layout-half | 672 | *** table-layout-half |
| 330 | 673 | ||
| 331 | Produce sub layers given layer name and corresponding table for single hand and | 674 | Produce sub layers given layer name and corresponding table for single hand and |
| 332 | incorporating mods and reset from base layer. Layer names must end with R or L. | 675 | incorporating mods and reset from base layer. Layer names must end with 'R' or |
| 333 | A layer with shifted symbols can also be generated. | 676 | 'L'. A layer with shifted symbols can also be generated. |
| 334 | 677 | ||
| 335 | #+NAME: table-layout-half | 678 | #+NAME: table-layout-half |
| 336 | #+BEGIN_SRC python :var hold_table=hold :var layer_name="NSL" :var half_table=nsl :var symbol_names_table=symbol-names :var mods_list=mods :var shift="false" :tangle no :results verbatim | 679 | #+BEGIN_SRC python :var hold_table=hold :var mode="r" :var half_table=nav-r :var symbol_names_table=symbol-names :var mods_table=mods :var nonkc_table=nonkc :var shift="false" :tangle no :results verbatim |
| 337 | width = 9 | 680 | width = 9 |
| 338 | mods_dict = dict.fromkeys(mods_list) | 681 | mods_dict = dict.fromkeys(mods_table[0]) |
| 682 | nonkc_tuple = tuple(nonkc_table[0]) | ||
| 339 | symbol_names_dict = {} | 683 | symbol_names_dict = {} |
| 340 | shifted_symbol_names_dict = {} | 684 | shifted_symbol_names_dict = {} |
| 341 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: | 685 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: |
| @@ -343,42 +687,43 @@ for symbol, name, shifted_symbol, shifted_name in symbol_names_table: | |||
| 343 | symbol_names_dict[shifted_symbol] = shifted_name | 687 | symbol_names_dict[shifted_symbol] = shifted_name |
| 344 | shifted_symbol_names_dict[symbol] = shifted_name | 688 | shifted_symbol_names_dict[symbol] = shifted_name |
| 345 | length = len(half_table[0]) | 689 | length = len(half_table[0]) |
| 346 | mode = layer_name[-1:].lower() | 690 | results = '' |
| 347 | results = ' [' + layer_name + '] = LAYOUT_miryoku(\n' | 691 | for half_row, hold_row in zip(half_table, hold_table): |
| 348 | for half_row, hold_row in map(None, half_table, hold_table): | ||
| 349 | results += ' ' | 692 | results += ' ' |
| 350 | hold_row_l, hold_row_r = hold_row[:length], hold_row[length:] | 693 | hold_row_l, hold_row_r = hold_row[:length], hold_row[length:] |
| 351 | for lr, hold_row_lr in ('l', hold_row_l), ('r', hold_row_r): | 694 | for lr, hold_row_lr in ('l', hold_row_l), ('r', hold_row_r): |
| 352 | if lr == mode: | 695 | if lr == mode: |
| 353 | for half in half_row: | 696 | for half in half_row: |
| 354 | if half == '': | 697 | if half == '': |
| 355 | code = 'NU' | 698 | code = 'U_NU' |
| 356 | elif shift == "true" and half in shifted_symbol_names_dict: | 699 | elif shift == "true" and half in shifted_symbol_names_dict: |
| 357 | code = shifted_symbol_names_dict[half] | 700 | code = shifted_symbol_names_dict[half] |
| 358 | elif half in symbol_names_dict: | 701 | elif half in symbol_names_dict: |
| 359 | code = symbol_names_dict[half] | 702 | code = symbol_names_dict[half] |
| 360 | else: | 703 | else: |
| 361 | code = half | 704 | code = half |
| 362 | results += ('KC_' + str(code) + ', ').ljust(width) | 705 | if not str(code).startswith(nonkc_tuple): |
| 706 | code = 'KC_' + str(code) | ||
| 707 | results += (str(code) + ', ').ljust(width) | ||
| 363 | else: | 708 | else: |
| 364 | for hold in hold_row_lr: | 709 | for hold in hold_row_lr: |
| 365 | if hold == '' or hold != 'NP' and hold != 'RST' and hold not in mods_dict: | 710 | if hold == '' or hold != 'U_NP' and hold != 'RESET' and hold not in mods_dict: |
| 366 | code = 'NA' | 711 | code = 'U_NA' |
| 367 | else: | 712 | else: |
| 368 | code = hold | 713 | code = hold |
| 369 | results += ('KC_' + str(code) + ', ').ljust(width) | 714 | if not str(code).startswith(nonkc_tuple): |
| 715 | code = 'KC_' + str(code) | ||
| 716 | results += (str(code) + ', ').ljust(width) | ||
| 370 | results = results.rstrip(' ') + '\n' | 717 | results = results.rstrip(' ') + '\n' |
| 371 | results = results.rstrip('\n, ') + '\n )' | 718 | results = results.rstrip('\n, ') |
| 372 | return results | 719 | return results |
| 373 | #+END_SRC | 720 | #+END_SRC |
| 374 | 721 | ||
| 375 | #+RESULTS: table-layout-half | 722 | #+RESULTS: table-layout-half |
| 376 | : [NSL] = LAYOUT_miryoku( | 723 | : RESET, U_NA, U_NA, U_NA, U_NA, U_RDO, U_PST, U_CPY, U_CUT, U_UND, |
| 377 | : KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, | 724 | : KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, U_NA, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, |
| 378 | : KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, | 725 | : U_NA, KC_ALGR, U_NA, U_NA, U_NA, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, |
| 379 | : KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, | 726 | : U_NP, U_NP, U_NA, U_NA, U_NA, KC_ENT, KC_BSPC, KC_DEL, U_NP, U_NP |
| 380 | : KC_NP, KC_NP, KC_DOT, KC_0, KC_MINS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP | ||
| 381 | : ) | ||
| 382 | 727 | ||
| 383 | 728 | ||
| 384 | *** table-layout-full | 729 | *** table-layout-full |
| @@ -386,13 +731,14 @@ return results | |||
| 386 | Produce full layer from single table. Fill for unused keys is configurable. | 731 | Produce full layer from single table. Fill for unused keys is configurable. |
| 387 | 732 | ||
| 388 | #+NAME: table-layout-full | 733 | #+NAME: table-layout-full |
| 389 | #+BEGIN_SRC python :var table=mbo :var layer_name="MBO" :var fill="TRNS" :var symbol_names_table=symbol-names :tangle no :results verbatim | 734 | #+BEGIN_SRC python :var table=mbo :var fill="TRNS" :var symbol_names_table=symbol-names :var nonkc_table=nonkc :tangle no :results verbatim |
| 390 | width = 9 | 735 | width = 9 |
| 391 | symbol_names_dict = {} | 736 | symbol_names_dict = {} |
| 737 | nonkc_tuple = tuple(nonkc_table[0]) | ||
| 392 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: | 738 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: |
| 393 | symbol_names_dict[symbol] = name | 739 | symbol_names_dict[symbol] = name |
| 394 | symbol_names_dict[shifted_symbol] = shifted_name | 740 | symbol_names_dict[shifted_symbol] = shifted_name |
| 395 | results = ' [' + layer_name + '] = LAYOUT_miryoku(\n' | 741 | results = '' |
| 396 | for row in table: | 742 | for row in table: |
| 397 | results += ' ' | 743 | results += ' ' |
| 398 | for key in row: | 744 | for key in row: |
| @@ -402,20 +748,19 @@ for row in table: | |||
| 402 | code = symbol_names_dict[key] | 748 | code = symbol_names_dict[key] |
| 403 | else: | 749 | else: |
| 404 | code = key | 750 | code = key |
| 405 | code = 'KC_' + str(code) | 751 | if not str(code).startswith(nonkc_tuple): |
| 752 | code = 'KC_' + str(code) | ||
| 406 | results += (code + ', ').ljust(width) | 753 | results += (code + ', ').ljust(width) |
| 407 | results = results.rstrip(' ') + '\n' | 754 | results = results.rstrip(' ') + '\n' |
| 408 | results = results.rstrip('\n, ') + '\n )' | 755 | results = results.rstrip('\n, ') |
| 409 | return results | 756 | return results |
| 410 | #+END_SRC | 757 | #+END_SRC |
| 411 | 758 | ||
| 412 | #+RESULTS: table-layout-full | 759 | #+RESULTS: table-layout-full |
| 413 | : [MBO] = LAYOUT_miryoku( | 760 | : U_RDO, U_PST, U_CPY, U_CUT, U_UND, U_RDO, U_PST, U_CPY, U_CUT, U_UND, |
| 414 | : KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 761 | : KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_TRNS, KC_TRNS, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, |
| 415 | : KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 762 | : KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| 416 | : KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 763 | : U_NP, U_NP, KC_BTN2, KC_BTN3, KC_BTN1, KC_BTN1, KC_BTN3, KC_BTN2, U_NP, U_NP |
| 417 | : KC_NP, KC_NP, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN3, KC_BTN2, KC_NP, KC_NP | ||
| 418 | : ) | ||
| 419 | 764 | ||
| 420 | 765 | ||
| 421 | *** table-enums | 766 | *** table-enums |
| @@ -423,30 +768,79 @@ return results | |||
| 423 | Produce layer enums from layer names in hold table. | 768 | Produce layer enums from layer names in hold table. |
| 424 | 769 | ||
| 425 | #+NAME: table-enums | 770 | #+NAME: table-enums |
| 426 | #+BEGIN_SRC python :var hold_table=hold :var mods_list=mods :tangle no | 771 | #+BEGIN_SRC python :var hold_table=hold :var mods_table=mods :tangle no |
| 427 | mods_dict = dict.fromkeys(mods_list) | 772 | mods_dict = dict.fromkeys(mods_table[0]) |
| 428 | results = 'enum layers { BASE, MBO, ' | 773 | results = 'enum layers { BASE, MBO, ' |
| 429 | for hold_row in hold_table: | 774 | for hold_row in hold_table: |
| 430 | for hold in hold_row: | 775 | for hold in hold_row: |
| 431 | if hold not in mods_dict and hold != '' and hold != 'NP' and hold != 'RST': | 776 | if hold not in mods_dict and hold != '' and hold != 'U_NP' and hold != 'RESET': |
| 432 | results += hold + ', ' | 777 | results += hold + ', ' |
| 433 | results = results.rstrip(', ') + ' };' | 778 | results = results.rstrip(', ') + ' };' |
| 434 | return results | 779 | return results |
| 435 | #+END_SRC | 780 | #+END_SRC |
| 436 | 781 | ||
| 437 | #+RESULTS: table-enums | 782 | #+RESULTS: table-enums |
| 438 | : enum layers { BASE, MBO, MEDR, NAVR, MOUR, NSSL, NSL, FUNL }; | 783 | : enum layers { BASE, MBO, MEDIA, NAV, MOUSE, SYM, NUM, FUN }; |
| 784 | |||
| 785 | |||
| 786 | *** table-keycode-mappings | ||
| 787 | |||
| 788 | Produce keycode mappings according to the provided table. | ||
| 789 | |||
| 790 | #+NAME: table-keycode-mappings | ||
| 791 | #+BEGIN_SRC python :var table=clipboard :var symbol_names_table=symbol-names :var nonkc_table=nonkc :tangle no | ||
| 792 | nonkc_tuple = tuple(nonkc_table[0]) | ||
| 793 | symbol_names_dict = {} | ||
| 794 | for symbol, name, shifted_symbol, shifted_name in symbol_names_table: | ||
| 795 | symbol_names_dict[symbol] = name | ||
| 796 | symbol_names_dict[shifted_symbol] = shifted_name | ||
| 797 | results = '' | ||
| 798 | for f,t in table: | ||
| 799 | if t == '': | ||
| 800 | code = 'U_NU' | ||
| 801 | elif t in symbol_names_dict: | ||
| 802 | code = symbol_names_dict[t] | ||
| 803 | else: | ||
| 804 | code = t | ||
| 805 | if not str(code).startswith(nonkc_tuple): | ||
| 806 | code = 'KC_' + str(code) | ||
| 807 | results += '#define ' + f + ' ' + code + '\n' | ||
| 808 | return results | ||
| 809 | #+END_SRC | ||
| 810 | |||
| 811 | #+RESULTS: table-keycode-mappings | ||
| 812 | : #define U_RDO KC_AGIN | ||
| 813 | : #define U_PST S(KC_INS) | ||
| 814 | : #define U_CPY C(KC_INS) | ||
| 815 | : #define U_CUT S(KC_DEL) | ||
| 816 | : #define U_UND KC_UNDO | ||
| 817 | |||
| 818 | |||
| 819 | *** COMMENT python-version | ||
| 820 | |||
| 821 | C-c C-c in code block to update | ||
| 822 | |||
| 823 | #+NAME: python-version | ||
| 824 | #+BEGIN_SRC python :tangle no | ||
| 825 | import sys | ||
| 826 | return sys.version | ||
| 827 | #+END_SRC | ||
| 828 | |||
| 829 | #+RESULTS: python-version | ||
| 830 | : 3.9.4 (default, Apr 9 2021, 01:15:05) | ||
| 831 | : [GCC 5.4.0 20160609] | ||
| 439 | 832 | ||
| 440 | 833 | ||
| 441 | ** Data | 834 | ** Data |
| 442 | 835 | ||
| 836 | |||
| 443 | *** symbol-names | 837 | *** symbol-names |
| 444 | 838 | ||
| 445 | Symbol, name, and shifted symbol mappings for use in tables. | 839 | Symbol, name, and shifted symbol mappings for use in tables. |
| 446 | 840 | ||
| 447 | #+NAME: symbol-names | 841 | #+NAME: symbol-names |
| 448 | | ` | GRV | ~ | TILD | | 842 | | ` | GRV | ~ | TILD | |
| 449 | | - | MINS | _ | UNDS | | 843 | | "-" | MINS | _ | UNDS | |
| 450 | | = | EQL | + | PLUS | | 844 | | = | EQL | + | PLUS | |
| 451 | | [ | LBRC | { | LCBR | | 845 | | [ | LBRC | { | LCBR | |
| 452 | | ] | RBRC | } | RCBR | | 846 | | ] | RBRC | } | RCBR | |
| @@ -454,7 +848,7 @@ Symbol, name, and shifted symbol mappings for use in tables. | |||
| 454 | | ; | SCLN | : | COLN | | 848 | | ; | SCLN | : | COLN | |
| 455 | | ' | QUOT | DQUO | DQUO | | 849 | | ' | QUOT | DQUO | DQUO | |
| 456 | | , | COMM | < | LT | | 850 | | , | COMM | < | LT | |
| 457 | | . | DOT | > | GT | | 851 | | "." | DOT | > | GT | |
| 458 | | / | SLSH | ? | QUES | | 852 | | / | SLSH | ? | QUES | |
| 459 | | 1 | 1 | ! | EXLM | | 853 | | 1 | 1 | ! | EXLM | |
| 460 | | 2 | 2 | @ | AT | | 854 | | 2 | 2 | @ | AT | |
| @@ -470,112 +864,112 @@ Symbol, name, and shifted symbol mappings for use in tables. | |||
| 470 | 864 | ||
| 471 | *** mods | 865 | *** mods |
| 472 | 866 | ||
| 473 | Modifiers usable in hold table. Need to have the same name for KC_ and _T versions. | 867 | Modifiers usable in hold table. Need to have the same name for ~KC_~ and ~_T~ |
| 868 | versions. | ||
| 474 | 869 | ||
| 475 | #+NAME: mods | 870 | #+NAME: mods |
| 476 | - LSFT | 871 | | LSFT | LCTL | LALT | LGUI | ALGR | |
| 477 | - LCTL | 872 | |
| 478 | - LALT | 873 | |
| 479 | - LGUI | 874 | *** nonkc |
| 480 | - ALGR | 875 | |
| 876 | Keycodes that match any of these prefixes will not have ~KC_~ automatically | ||
| 877 | prepended. | ||
| 878 | |||
| 879 | #+NAME: nonkc | ||
| 880 | | U_ | RGB_ | RESET | S( | C( | SCMD( | LCMD( | | ||
| 481 | 881 | ||
| 482 | 882 | ||
| 483 | *** header | 883 | *** header |
| 484 | 884 | ||
| 485 | Header for tangled src files. | 885 | Header for tangled files. |
| 486 | 886 | ||
| 487 | #+NAME: header | 887 | #+NAME: header |
| 488 | #+BEGIN_SRC C :tangle no | 888 | #+BEGIN_SRC C :main no :tangle no |
| 889 | Copyright 2019 Manna Harbour | ||
| 890 | https://github.com/manna-harbour/miryoku | ||
| 489 | generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 891 | generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 490 | #+END_SRC | 892 | #+END_SRC |
| 491 | 893 | ||
| 492 | 894 | ||
| 895 | *** license-qmk | ||
| 896 | |||
| 897 | License for tangled QMK C source files. | ||
| 898 | |||
| 899 | #+NAME: license-qmk | ||
| 900 | #+BEGIN_SRC C :main no :tangle no | ||
| 901 | // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 902 | #+END_SRC | ||
| 903 | |||
| 904 | |||
| 493 | * Subset Mapping | 905 | * Subset Mapping |
| 494 | 906 | ||
| 495 | The keymap, build options, and configuration are shared between keyboards. The | 907 | The keymap, build options, and configuration are shared between keyboards. The |
| 496 | layout is mapped onto keyboards with different physical layouts as a subset. | 908 | layout is mapped onto keyboards with different physical layouts as a subset. |
| 497 | 909 | ||
| 910 | |||
| 498 | ** Userspace | 911 | ** Userspace |
| 499 | 912 | ||
| 500 | The keymap is defined for LAYOUT_miryoku which is 10x4, with the outer 2 | 913 | The keymap is defined for ~LAYOUT_miryoku~ which is 10x4, with the outer 2 |
| 501 | positions on the bottom row unused and the rest of the bottom row being the | 914 | positions on the bottom row unused and the rest of the bottom row being the |
| 502 | thumb keys. | 915 | thumb keys. |
| 503 | 916 | ||
| 504 | *** manna-harbour_miryoku.h | ||
| 505 | |||
| 506 | Keymap-related definitions. Included from manna-harbour_miryoku.c. Can be | ||
| 507 | included from keymap or layout keymap.c if needed. | ||
| 508 | 917 | ||
| 509 | [[./manna-harbour_miryoku.h][users/manna-harbour_miryoku/manna-harbour_miryoku.h]] | 918 | *** [[./rules.mk][users/manna-harbour_miryoku/rules.mk]] |
| 510 | #+BEGIN_SRC C :noweb yes :padline no :tangle manna-harbour_miryoku.h | ||
| 511 | // <<header>> | ||
| 512 | 919 | ||
| 513 | #pragma once | 920 | Build options. Automatically included. |
| 514 | |||
| 515 | #include QMK_KEYBOARD_H | ||
| 516 | 921 | ||
| 517 | #define KC_NP KC_NO // key is not present | 922 | #+BEGIN_SRC makefile :noweb yes :padline no :tangle rules.mk |
| 518 | #define KC_NA KC_NO // present but not available for use | 923 | # <<header>> |
| 519 | #define KC_NU KC_NO // available but not used | ||
| 520 | 924 | ||
| 521 | // non-KC_ keycodes | 925 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 522 | #define KC_RST RESET | 926 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 523 | #define KC_TOG RGB_TOG | 927 | AUTO_SHIFT_ENABLE = yes # Auto Shift |
| 524 | #define KC_MOD RGB_MOD | ||
| 525 | #define KC_HUI RGB_HUI | ||
| 526 | #define KC_SAI RGB_SAI | ||
| 527 | #define KC_VAI RGB_VAI | ||
| 528 | 928 | ||
| 529 | <<table-enums()>> | 929 | SRC += manna-harbour_miryoku.c # keymap |
| 530 | #+END_SRC | ||
| 531 | 930 | ||
| 931 | # alternative layouts: | ||
| 532 | 932 | ||
| 533 | *** manna-harbour_miryoku.c | 933 | # alphas |
| 934 | ifneq ($(strip $(MIRYOKU_ALPHAS)),) | ||
| 935 | OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS) | ||
| 936 | endif | ||
| 534 | 937 | ||
| 535 | Contains the keymap. Added from rules.mk. | 938 | # nav |
| 939 | ifneq ($(strip $(MIRYOKU_NAV)),) | ||
| 940 | OPT_DEFS += -DMIRYOKU_NAV_$(MIRYOKU_NAV) | ||
| 941 | endif | ||
| 536 | 942 | ||
| 537 | [[./manna-harbour_miryoku.c][users/manna-harbour_miryoku/manna-harbour_miryoku.c]] | 943 | # clipboard |
| 538 | #+BEGIN_SRC C :noweb yes :padline no :tangle manna-harbour_miryoku.c | 944 | ifneq ($(strip $(MIRYOKU_CLIPBOARD)),) |
| 539 | // <<header>> | 945 | OPT_DEFS += -DMIRYOKU_CLIPBOARD_$(MIRYOKU_CLIPBOARD) |
| 946 | endif | ||
| 540 | 947 | ||
| 541 | #include "manna-harbour_miryoku.h" | 948 | # layers |
| 949 | ifneq ($(strip $(MIRYOKU_LAYERS)),) | ||
| 950 | OPT_DEFS += -DMIRYOKU_LAYERS_$(MIRYOKU_LAYERS) | ||
| 951 | endif | ||
| 542 | 952 | ||
| 543 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 953 | # subset mappings |
| 544 | #if defined MIRYOKU_ALPHAS_QWERTY | 954 | ifneq ($(strip $(MIRYOKU_MAPPING)),) |
| 545 | <<table-layout-taphold(layer_name="BASE", tap_table=qwerty, hold_table=hold)>>, | 955 | OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING) |
| 546 | #elif defined MIRYOKU_ALPHAS_DVORAK | 956 | endif |
| 547 | <<table-layout-taphold(layer_name="BASE", tap_table=dvorak, hold_table=hold)>>, | ||
| 548 | #elif defined MIRYOKU_ALPHAS_COLEMAK | ||
| 549 | <<table-layout-taphold(layer_name="BASE", tap_table=colemak, hold_table=hold)>>, | ||
| 550 | #elif defined MIRYOKU_ALPHAS_COLEMAKDH | ||
| 551 | <<table-layout-taphold(layer_name="BASE", tap_table=colemakdh, hold_table=hold)>>, | ||
| 552 | #elif defined MIRYOKU_ALPHAS_WORKMAN | ||
| 553 | <<table-layout-taphold(layer_name="BASE", tap_table=workman, hold_table=hold)>>, | ||
| 554 | #else | ||
| 555 | <<table-layout-taphold(layer_name="BASE", tap_table=colemakdhm, hold_table=hold)>>, | ||
| 556 | #endif | ||
| 557 | <<table-layout-half(layer_name="NAVR", half_table=navr)>>, | ||
| 558 | <<table-layout-half(layer_name="MOUR", half_table=mour)>>, | ||
| 559 | <<table-layout-full(layer_name="MBO", table=mbo, fill="TRNS")>>, | ||
| 560 | <<table-layout-half(layer_name="MEDR", half_table=medr)>>, | ||
| 561 | <<table-layout-half(layer_name="FUNL", half_table=funl)>>, | ||
| 562 | <<table-layout-half(layer_name="NSL", half_table=nsl)>>, | ||
| 563 | <<table-layout-half(layer_name="NSSL", half_table=nsl, shift="true")>> | ||
| 564 | }; | ||
| 565 | #+END_SRC | 957 | #+END_SRC |
| 566 | 958 | ||
| 567 | 959 | ||
| 568 | *** config.h | 960 | *** [[./config.h][users/manna-harbour_miryoku/config.h]] |
| 569 | 961 | ||
| 570 | Config options. Automatically included. | 962 | Config options. Automatically included. |
| 571 | 963 | ||
| 572 | [[./config.h][users/manna-harbour_miryoku/config.h]] | 964 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle config.h |
| 573 | #+BEGIN_SRC C :noweb yes :padline no :tangle config.h | ||
| 574 | // <<header>> | 965 | // <<header>> |
| 575 | 966 | ||
| 967 | <<license-qmk>> | ||
| 968 | |||
| 576 | #pragma once | 969 | #pragma once |
| 577 | 970 | ||
| 578 | // default but important | 971 | // default but used in macros |
| 972 | #undef TAPPING_TERM | ||
| 579 | #define TAPPING_TERM 200 | 973 | #define TAPPING_TERM 200 |
| 580 | 974 | ||
| 581 | // Prevent normal rollover on alphas from accidentally triggering mods. | 975 | // Prevent normal rollover on alphas from accidentally triggering mods. |
| @@ -584,6 +978,11 @@ Config options. Automatically included. | |||
| 584 | // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. | 978 | // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. |
| 585 | #define TAPPING_FORCE_HOLD | 979 | #define TAPPING_FORCE_HOLD |
| 586 | 980 | ||
| 981 | // Auto Shift | ||
| 982 | #define NO_AUTO_SHIFT_ALPHA | ||
| 983 | #define AUTO_SHIFT_TIMEOUT TAPPING_TERM | ||
| 984 | #define AUTO_SHIFT_NO_SETUP | ||
| 985 | |||
| 587 | // Recommended for heavy chording. | 986 | // Recommended for heavy chording. |
| 588 | #define QMK_KEYS_PER_SCAN 4 | 987 | #define QMK_KEYS_PER_SCAN 4 |
| 589 | 988 | ||
| @@ -598,42 +997,259 @@ Config options. Automatically included. | |||
| 598 | #define MOUSEKEY_MAX_SPEED 6 | 997 | #define MOUSEKEY_MAX_SPEED 6 |
| 599 | #undef MOUSEKEY_TIME_TO_MAX | 998 | #undef MOUSEKEY_TIME_TO_MAX |
| 600 | #define MOUSEKEY_TIME_TO_MAX 64 | 999 | #define MOUSEKEY_TIME_TO_MAX 64 |
| 601 | |||
| 602 | #+END_SRC | 1000 | #+END_SRC |
| 603 | 1001 | ||
| 604 | 1002 | ||
| 605 | *** rules.mk | 1003 | *** [[./manna-harbour_miryoku.h][users/manna-harbour_miryoku/manna-harbour_miryoku.h]] |
| 606 | 1004 | ||
| 607 | Build options. Automatically included. | 1005 | Keymap-related definitions. Included from ~manna-harbour_miryoku.c~. Can be |
| 1006 | included from keymap or layout ~keymap.c~ if needed. | ||
| 608 | 1007 | ||
| 609 | [[./rules.mk][users/manna-harbour_miryoku/rules.mk]] | 1008 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle manna-harbour_miryoku.h |
| 610 | #+BEGIN_SRC makefile :noweb yes :padline no :tangle rules.mk | 1009 | // <<header>> |
| 611 | # <<header>> | ||
| 612 | 1010 | ||
| 613 | MOUSEKEY_ENABLE = yes # Mouse keys | 1011 | <<license-qmk>> |
| 614 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 615 | 1012 | ||
| 616 | SRC += manna-harbour_miryoku.c # keymap | 1013 | #pragma once |
| 617 | 1014 | ||
| 618 | # select alternative base layer alphas | 1015 | #include QMK_KEYBOARD_H |
| 619 | ifneq ($(strip $(MIRYOKU_ALPHAS)),) | ||
| 620 | OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS) | ||
| 621 | endif | ||
| 622 | 1016 | ||
| 623 | # select alternative subset mappings | 1017 | #define U_NP KC_NO // key is not present |
| 624 | ifneq ($(strip $(MIRYOKU_MAPPING)),) | 1018 | #define U_NA KC_NO // present but not available for use |
| 625 | OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING) | 1019 | #define U_NU KC_NO // available but not used |
| 626 | endif | 1020 | |
| 1021 | <<table-enums()>> | ||
| 1022 | |||
| 1023 | #if defined MIRYOKU_CLIPBOARD_FUN | ||
| 1024 | <<table-keycode-mappings(table=clipboard-fun)>> | ||
| 1025 | #elif defined MIRYOKU_CLIPBOARD_MAC | ||
| 1026 | <<table-keycode-mappings(table=clipboard-mac)>> | ||
| 1027 | #elif defined MIRYOKU_CLIPBOARD_WIN | ||
| 1028 | <<table-keycode-mappings(table=clipboard-win)>> | ||
| 1029 | #else | ||
| 1030 | <<table-keycode-mappings(table=clipboard)>> | ||
| 1031 | #endif | ||
| 1032 | |||
| 1033 | |||
| 1034 | #+END_SRC | ||
| 1035 | |||
| 1036 | |||
| 1037 | *** [[./manna-harbour_miryoku.c][users/manna-harbour_miryoku/manna-harbour_miryoku.c]] | ||
| 1038 | |||
| 1039 | Contains the keymap. Added from ~rules.mk~. | ||
| 1040 | |||
| 1041 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle manna-harbour_miryoku.c | ||
| 1042 | // <<header>> | ||
| 1043 | |||
| 1044 | <<license-qmk>> | ||
| 1045 | |||
| 1046 | #include "manna-harbour_miryoku.h" | ||
| 1047 | |||
| 1048 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 1049 | #if defined MIRYOKU_LAYERS_FLIP | ||
| 1050 | [BASE] = LAYOUT_miryoku( | ||
| 1051 | #if defined MIRYOKU_ALPHAS_COLEMAK | ||
| 1052 | <<table-layout-taphold(alphas_table=colemak, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1053 | #elif defined MIRYOKU_ALPHAS_COLEMAKDHK | ||
| 1054 | <<table-layout-taphold(alphas_table=colemakdhk, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1055 | #elif defined MIRYOKU_ALPHAS_DVORAK | ||
| 1056 | <<table-layout-taphold(alphas_table=dvorak, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1057 | #elif defined MIRYOKU_ALPHAS_HALMAK | ||
| 1058 | <<table-layout-taphold(alphas_table=halmak, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1059 | #elif defined MIRYOKU_ALPHAS_WORKMAN | ||
| 1060 | <<table-layout-taphold(alphas_table=workman, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1061 | #elif defined MIRYOKU_ALPHAS_QWERTY | ||
| 1062 | <<table-layout-taphold(alphas_table=qwerty, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1063 | #else | ||
| 1064 | <<table-layout-taphold(alphas_table=colemakdh, thumbs_table=thumbs-flip, hold_table=hold-flip)>> | ||
| 1065 | #endif | ||
| 1066 | ), | ||
| 1067 | #if defined MIRYOKU_NAV_INVERTEDT | ||
| 1068 | [NAV] = LAYOUT_miryoku( | ||
| 1069 | <<table-layout-half(half_table=nav-l-invertedt, mode="l", hold_table=hold-flip)>> | ||
| 1070 | ), | ||
| 1071 | [MOUSE] = LAYOUT_miryoku( | ||
| 1072 | <<table-layout-half(half_table=mouse-l-invertedt, mode="l", hold_table=hold-flip)>> | ||
| 1073 | ), | ||
| 1074 | [MEDIA] = LAYOUT_miryoku( | ||
| 1075 | <<table-layout-half(half_table=media-l-invertedt, mode="l", hold_table=hold-flip)>> | ||
| 1076 | ), | ||
| 1077 | #else | ||
| 1078 | [NAV] = LAYOUT_miryoku( | ||
| 1079 | <<table-layout-half(half_table=nav-l, mode="l", hold_table=hold-flip)>> | ||
| 1080 | ), | ||
| 1081 | [MOUSE] = LAYOUT_miryoku( | ||
| 1082 | <<table-layout-half(half_table=mouse-l, mode="l", hold_table=hold-flip)>> | ||
| 1083 | ), | ||
| 1084 | [MEDIA] = LAYOUT_miryoku( | ||
| 1085 | <<table-layout-half(half_table=media-l, mode="l", hold_table=hold-flip)>> | ||
| 1086 | ), | ||
| 1087 | #endif | ||
| 1088 | [MBO] = LAYOUT_miryoku( | ||
| 1089 | <<table-layout-full(table=mbo, fill="TRNS")>> | ||
| 1090 | ), | ||
| 1091 | [NUM] = LAYOUT_miryoku( | ||
| 1092 | <<table-layout-half(half_table=num-r, mode="r", hold_table=hold-flip)>> | ||
| 1093 | ), | ||
| 1094 | [SYM] = LAYOUT_miryoku( | ||
| 1095 | <<table-layout-half(half_table=sym-r, mode="r", hold_table=hold-flip)>> | ||
| 1096 | ), | ||
| 1097 | [FUN] = LAYOUT_miryoku( | ||
| 1098 | <<table-layout-half(half_table=fun-r, mode="r", hold_table=hold-flip)>> | ||
| 1099 | ) | ||
| 1100 | , | ||
| 1101 | #else | ||
| 1102 | [BASE] = LAYOUT_miryoku( | ||
| 1103 | #if defined MIRYOKU_ALPHAS_COLEMAK | ||
| 1104 | <<table-layout-taphold(alphas_table=colemak)>> | ||
| 1105 | #elif defined MIRYOKU_ALPHAS_COLEMAKDHK | ||
| 1106 | <<table-layout-taphold(alphas_table=colemakdhk)>> | ||
| 1107 | #elif defined MIRYOKU_ALPHAS_DVORAK | ||
| 1108 | <<table-layout-taphold(alphas_table=dvorak)>> | ||
| 1109 | #elif defined MIRYOKU_ALPHAS_HALMAK | ||
| 1110 | <<table-layout-taphold(alphas_table=halmak)>> | ||
| 1111 | #elif defined MIRYOKU_ALPHAS_WORKMAN | ||
| 1112 | <<table-layout-taphold(alphas_table=workman)>> | ||
| 1113 | #elif defined MIRYOKU_ALPHAS_QWERTY | ||
| 1114 | <<table-layout-taphold(alphas_table=qwerty)>> | ||
| 1115 | #else | ||
| 1116 | <<table-layout-taphold(alphas_table=colemakdh)>> | ||
| 1117 | #endif | ||
| 1118 | ), | ||
| 1119 | #if defined MIRYOKU_NAV_VI | ||
| 1120 | [NAV] = LAYOUT_miryoku( | ||
| 1121 | <<table-layout-half(half_table=nav-r-vi, mode="r")>> | ||
| 1122 | ), | ||
| 1123 | [MOUSE] = LAYOUT_miryoku( | ||
| 1124 | <<table-layout-half(half_table=mouse-r-vi, mode="r")>> | ||
| 1125 | ), | ||
| 1126 | [MEDIA] = LAYOUT_miryoku( | ||
| 1127 | <<table-layout-half(half_table=media-r-vi, mode="r")>> | ||
| 1128 | ), | ||
| 1129 | #else | ||
| 1130 | [NAV] = LAYOUT_miryoku( | ||
| 1131 | <<table-layout-half(half_table=nav-r, mode="r")>> | ||
| 1132 | ), | ||
| 1133 | [MOUSE] = LAYOUT_miryoku( | ||
| 1134 | <<table-layout-half(half_table=mouse-r, mode="r")>> | ||
| 1135 | ), | ||
| 1136 | [MEDIA] = LAYOUT_miryoku( | ||
| 1137 | <<table-layout-half(half_table=media-r, mode="r")>> | ||
| 1138 | ), | ||
| 1139 | #endif | ||
| 1140 | [MBO] = LAYOUT_miryoku( | ||
| 1141 | <<table-layout-full(table=mbo-flip, fill="TRNS")>> | ||
| 1142 | ), | ||
| 1143 | [NUM] = LAYOUT_miryoku( | ||
| 1144 | <<table-layout-half(half_table=num-l, mode="l")>> | ||
| 1145 | ), | ||
| 1146 | [SYM] = LAYOUT_miryoku( | ||
| 1147 | <<table-layout-half(half_table=sym-l, mode="l")>> | ||
| 1148 | ), | ||
| 1149 | [FUN] = LAYOUT_miryoku( | ||
| 1150 | <<table-layout-half(half_table=fun-l, mode="l")>> | ||
| 1151 | ) | ||
| 1152 | #endif | ||
| 1153 | }; | ||
| 627 | #+END_SRC | 1154 | #+END_SRC |
| 628 | 1155 | ||
| 629 | 1156 | ||
| 630 | ** Layouts | 1157 | ** Layouts |
| 631 | 1158 | ||
| 632 | To use the keymap on a keyboard supporting the layouts feature, LAYOUT_miryoku | 1159 | To use the keymap on a keyboard supporting the layouts feature, ~LAYOUT_miryoku~ |
| 633 | is defined as a macro mapping onto the layout's own LAYOUT macro, leaving the | 1160 | is defined as a macro mapping onto the layout's own ~LAYOUT~ macro, leaving the |
| 634 | unused keys as KC_NO. | 1161 | unused keys as ~KC_NO~. |
| 1162 | |||
| 1163 | For keyboards supporting multiple layouts for which subset mappings are | ||
| 1164 | available, select the layout with ~FORCE_LAYOUT~ in the ~make~ command line when | ||
| 1165 | building. E.g.: | ||
| 1166 | |||
| 1167 | #+BEGIN_SRC sh :tangle no | ||
| 1168 | make planck/rev6:manna-harbour_miryoku:flash FORCE_LAYOUT=planck_mit # planck_mit | ||
| 1169 | make planck/rev6:manna-harbour_miryoku:flash FORCE_LAYOUT=ortho_4x12 # ortho_4x12 | ||
| 1170 | #+END_SRC | ||
| 1171 | |||
| 1172 | |||
| 1173 | *** 60_ansi | ||
| 1174 | |||
| 1175 | An angled ortho split layout is mapped onto the row-staggered keyboard. The | ||
| 1176 | rows are moved up to better position the thumb keys, the hands are separated as | ||
| 1177 | much as possible, and the left hand column angle is reversed to reduce ulnar | ||
| 1178 | deviation of the wrists. | ||
| 1179 | |||
| 1180 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-60_ansi.png]] | ||
| 1181 | |||
| 1182 | An alternative subset mapping is also provided without reverse column angle. To | ||
| 1183 | select this mapping, append ~MIRYOKU_MAPPING=NOREVERSEANGLE~ to the ~make~ | ||
| 1184 | command line when building. | ||
| 1185 | |||
| 1186 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-60_ansi-noreverseangle.png]] | ||
| 1187 | |||
| 1188 | Keyboards supporting this layout: alps64, amj60, bakeneko60, bm60poker, bm60rgb, do60, dp60, dz60, facew, gskt00, infinity60, jm60, kc60, kc60se, ok60, org60, paladin64, panc60, reviung61, smk60, v60_type_r, yd60mq, 1upkeyboards/1up60hse, 1upkeyboards/1up60rgb, 40percentclub/luddite, acheron/keebspcb, acheron/lasgweloth, ai03/polaris, akegata_denki/device_one, atxkb/1894, bioi/g60ble, bt66tech/bt66tech60, cannonkeys/an_c, cannonkeys/instant60, cannonkeys/practice60, clawsome/coupe, dm9records/tartan, duck/eagle_viper, evyd13/plain60, exclusive/e6_rgb, gh60/revc, gh60/satan, gh60/v1p3, handwired/xealousbrown, hineybush/h60, hs60/v1, keebio/wtf60, noxary/260, playkbtw/pk60, ryloo_studio/m0110, thevankeyboards/bananasplit, wilba_tech/zeal60, xd60/rev2, xd60/rev3, cannonkeys/db60/hotswap, cannonkeys/db60/j02, cannonkeys/db60/rev2, exclusive/e6v2/le, exclusive/e6v2/oe, foxlab/leaf60/universal, handwired/co60/rev1, handwired/co60/rev7, handwired/swiftrax/nodu, hs60/v2/ansi, inett_studio/sqx/universal, melgeek/mj61/rev1, melgeek/mj61/rev2, melgeek/mj63/rev1, melgeek/mj63/rev2, sentraq/s60_x/default, sentraq/s60_x/rgb. | ||
| 1189 | |||
| 1190 | Example build command lines: | ||
| 1191 | |||
| 1192 | #+BEGIN_SRC sh :tangle no | ||
| 1193 | make dz60:manna-harbour_miryoku:flash # dz60 | ||
| 1194 | make dz60:manna-harbour_miryoku:flash MIRYOKU_MAPPING=NOREVERSEANGLE # dz60, without reverse column angle | ||
| 1195 | #+END_SRC | ||
| 1196 | |||
| 1197 | |||
| 1198 | **** [[../../layouts/community/60_ansi/manna-harbour_miryoku/config.h][layouts/community/60_ansi/manna-harbour_miryoku/config.h]] | ||
| 1199 | |||
| 1200 | Contains subset mapping. | ||
| 1201 | |||
| 1202 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/60_ansi/manna-harbour_miryoku/config.h | ||
| 1203 | // <<header>> | ||
| 1204 | |||
| 1205 | <<license-qmk>> | ||
| 1206 | |||
| 1207 | #pragma once | ||
| 1208 | |||
| 1209 | #define XXX KC_NO | ||
| 1210 | |||
| 1211 | #if defined MIRYOKU_MAPPING_NOREVERSEANGLE | ||
| 1212 | #define LAYOUT_miryoku(\ | ||
| 1213 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1214 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1215 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1216 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1217 | )\ | ||
| 1218 | LAYOUT_60_ansi(\ | ||
| 1219 | K00, K01, K02, K03, K04, XXX, XXX, XXX, K05, K06, K07, K08, K09, XXX,\ | ||
| 1220 | K10, K11, K12, K13, K14, XXX, XXX, XXX, K15, K16, K17, K18, K19, XXX,\ | ||
| 1221 | K20, K21, K22, K23, K24, XXX, XXX, XXX, K25, K26, K27, K28, K29,\ | ||
| 1222 | XXX, K32, K33, K34, XXX, XXX, XXX, XXX, K35, K36, K37, XXX,\ | ||
| 1223 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX\ | ||
| 1224 | ) | ||
| 1225 | #else | ||
| 1226 | #define LAYOUT_miryoku(\ | ||
| 1227 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1228 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1229 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1230 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1231 | )\ | ||
| 1232 | LAYOUT_60_ansi(\ | ||
| 1233 | XXX, XXX, K00, K01, K02, K03, K04, XXX, K05, K06, K07, K08, K09, XXX,\ | ||
| 1234 | XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX,\ | ||
| 1235 | K20, K21, K22, K23, K24, XXX, XXX, XXX, K25, K26, K27, K28, K29,\ | ||
| 1236 | XXX, XXX, K32, K33, K34, XXX, XXX, XXX, K35, K36, K37, XXX,\ | ||
| 1237 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX\ | ||
| 1238 | ) | ||
| 1239 | #endif | ||
| 1240 | #+END_SRC | ||
| 1241 | |||
| 1242 | |||
| 1243 | **** [[../../layouts/community/60_ansi/manna-harbour_miryoku/keymap.c][layouts/community/60_ansi/manna-harbour_miryoku/keymap.c]] | ||
| 1244 | |||
| 1245 | Required by the build system. | ||
| 1246 | |||
| 1247 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/60_ansi/manna-harbour_miryoku/keymap.c | ||
| 1248 | // <<header>> | ||
| 1249 | |||
| 1250 | <<license-qmk>> | ||
| 1251 | #+END_SRC | ||
| 635 | 1252 | ||
| 636 | The following are example layouts. | ||
| 637 | 1253 | ||
| 638 | *** ergodox | 1254 | *** ergodox |
| 639 | 1255 | ||
| @@ -642,24 +1258,81 @@ secondary thumb keys are the inner and outer 2u thumb keys and the tertiary | |||
| 642 | thumb key is the innermost key of the partial bottom row. The remaining keys | 1258 | thumb key is the innermost key of the partial bottom row. The remaining keys |
| 643 | are unused. | 1259 | are unused. |
| 644 | 1260 | ||
| 645 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/kle-miryoku-mapping-ergodox.png]] | 1261 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ergodox.png]] |
| 1262 | |||
| 1263 | Keyboards supporting this layout: ergodone, ergodox_ez, ergodox_infinity, hotdox. | ||
| 646 | 1264 | ||
| 647 | To build for any keyboard using the this layout (ergodone, ergodox_ez, | 1265 | Example build command lines: |
| 648 | ergodox_infinity, hotdox) e.g. the ergodox_ez, | ||
| 649 | 1266 | ||
| 650 | #+BEGIN_SRC sh :tangle no | 1267 | #+BEGIN_SRC sh :tangle no |
| 651 | make ergodox_ez:manna-harbour_miryoku:flash | 1268 | make ergodox_infinity:manna-harbour_miryoku:flash # ergodox_infinity |
| 1269 | make ergodox_ez:manna-harbour_miryoku:flash # ergodox_ez | ||
| 652 | #+END_SRC | 1270 | #+END_SRC |
| 653 | 1271 | ||
| 654 | 1272 | ||
| 655 | **** config.h | 1273 | **** [[../../layouts/community/ergodox/manna-harbour_miryoku/config.h][layouts/community/ergodox/manna-harbour_miryoku/config.h]] |
| 656 | 1274 | ||
| 657 | Contains subset mapping. | 1275 | Contains subset mapping. |
| 658 | 1276 | ||
| 659 | [[../../layouts/community/ergodox/manna-harbour_miryoku/config.h][layouts/community/ergodox/manna-harbour_miryoku/config.h]] | 1277 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ergodox/manna-harbour_miryoku/config.h |
| 660 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../layouts/community/ergodox/manna-harbour_miryoku/config.h | ||
| 661 | // <<header>> | 1278 | // <<header>> |
| 662 | 1279 | ||
| 1280 | <<license-qmk>> | ||
| 1281 | |||
| 1282 | #pragma once | ||
| 1283 | |||
| 1284 | #define XXX KC_NO | ||
| 1285 | |||
| 1286 | #define LAYOUT_miryoku(\ | ||
| 1287 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1288 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1289 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1290 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1291 | )\ | ||
| 1292 | LAYOUT_ergodox_pretty(\ | ||
| 1293 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 1294 | XXX, K00, K01, K02, K03, K04, XXX, XXX, K05, K06, K07, K08, K09, XXX,\ | ||
| 1295 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX,\ | ||
| 1296 | XXX, K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 1297 | XXX, XXX, XXX, XXX, K32, K37, XXX, XXX, XXX, XXX,\ | ||
| 1298 | XXX, XXX, XXX, XXX,\ | ||
| 1299 | XXX, XXX,\ | ||
| 1300 | K33, K34, XXX, XXX, K35, K36\ | ||
| 1301 | ) | ||
| 1302 | #+END_SRC | ||
| 1303 | |||
| 1304 | |||
| 1305 | **** [[../../layouts/community/ergodox/manna-harbour_miryoku/keymap.c][layouts/community/ergodox/manna-harbour_miryoku/keymap.c]] | ||
| 1306 | |||
| 1307 | Required by the build system. | ||
| 1308 | |||
| 1309 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ergodox/manna-harbour_miryoku/keymap.c | ||
| 1310 | // <<header>> | ||
| 1311 | |||
| 1312 | <<license-qmk>> | ||
| 1313 | #+END_SRC | ||
| 1314 | |||
| 1315 | |||
| 1316 | *** ortho_4x10 | ||
| 1317 | |||
| 1318 | Keyboards supporting this layout: newgame40, nimrod, marksard/rhymestone, pabile/p40. | ||
| 1319 | |||
| 1320 | Example build command lines: | ||
| 1321 | |||
| 1322 | #+BEGIN_SRC sh :tangle no | ||
| 1323 | make marksard/rhymestone:manna-harbour_miryoku:flash # marksard/rhymestone | ||
| 1324 | #+END_SRC | ||
| 1325 | |||
| 1326 | |||
| 1327 | **** [[../../layouts/community/ortho_4x10/manna-harbour_miryoku/config.h][layouts/community/ortho_4x10/manna-harbour_miryoku/config.h]] | ||
| 1328 | |||
| 1329 | Contains subset mapping. | ||
| 1330 | |||
| 1331 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_4x10/manna-harbour_miryoku/config.h | ||
| 1332 | // <<header>> | ||
| 1333 | |||
| 1334 | <<license-qmk>> | ||
| 1335 | |||
| 663 | #pragma once | 1336 | #pragma once |
| 664 | 1337 | ||
| 665 | #define LAYOUT_miryoku(\ | 1338 | #define LAYOUT_miryoku(\ |
| @@ -668,26 +1341,23 @@ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | |||
| 668 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | 1341 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ |
| 669 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | 1342 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ |
| 670 | )\ | 1343 | )\ |
| 671 | LAYOUT_ergodox_pretty( \ | 1344 | LAYOUT_ortho_4x10(\ |
| 672 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \ | 1345 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ |
| 673 | KC_NO, K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09, KC_NO, \ | 1346 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ |
| 674 | KC_NO, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO, \ | 1347 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ |
| 675 | KC_NO, K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29, KC_NO, \ | 1348 | KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO\ |
| 676 | KC_NO, KC_NO, KC_NO, KC_NO, K32, K37, KC_NO, KC_NO, KC_NO, KC_NO, \ | ||
| 677 | KC_NO, KC_NO, KC_NO, KC_NO, \ | ||
| 678 | KC_NO, KC_NO, \ | ||
| 679 | K33, K34, KC_NO, KC_NO, K35, K36 \ | ||
| 680 | ) | 1349 | ) |
| 681 | #+END_SRC | 1350 | #+END_SRC |
| 682 | 1351 | ||
| 683 | 1352 | ||
| 684 | **** keymap.c | 1353 | **** [[../../layouts/community/ortho_4x10/manna-harbour_miryoku/keymap.c][layouts/community/ortho_4x10/manna-harbour_miryoku/keymap.c]] |
| 685 | 1354 | ||
| 686 | Required by the build system. | 1355 | Required by the build system. |
| 687 | 1356 | ||
| 688 | [[../../layouts/community/ergodox/manna-harbour_miryoku/keymap.c][layouts/community/ergodox/manna-harbour_miryoku/keymap.c]] | 1357 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_4x10/manna-harbour_miryoku/keymap.c |
| 689 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../layouts/community/ergodox/manna-harbour_miryoku/keymap.c | ||
| 690 | // <<header>> | 1358 | // <<header>> |
| 1359 | |||
| 1360 | <<license-qmk>> | ||
| 691 | #+END_SRC | 1361 | #+END_SRC |
| 692 | 1362 | ||
| 693 | 1363 | ||
| @@ -697,11 +1367,7 @@ For the ortho_4x12 layout, the middle two columns, and the 2 keys on each end of | |||
| 697 | the bottom row are unused. This allows the hands to be positioned without ulnar | 1367 | the bottom row are unused. This allows the hands to be positioned without ulnar |
| 698 | deviation of the wrists. | 1368 | deviation of the wrists. |
| 699 | 1369 | ||
| 700 | In the implementation, the 2 unused middle columns bottom row keys are mapped as | 1370 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ortho_4x12.png]] |
| 701 | duplicates of their adjacent keys to support alternative bottom row physical | ||
| 702 | layouts including 1x2uC (MIT), 1x2uR, 1x2uL, and 2x2u. | ||
| 703 | |||
| 704 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/kle-miryoku-mapping-ortho_4x12.png]] | ||
| 705 | 1371 | ||
| 706 | For split keyboards using this layout the halves can be positioned and rotated | 1372 | For split keyboards using this layout the halves can be positioned and rotated |
| 707 | for each hand and so an alternative mapping is provided. The right half is as | 1373 | for each hand and so an alternative mapping is provided. The right half is as |
| @@ -709,36 +1375,46 @@ follows: The rightmost column bottom 3 keys is the pinkie column. The middle 4 | |||
| 709 | columns top 3 rows are for the remaining fingers. The pinkie column is one row | 1375 | columns top 3 rows are for the remaining fingers. The pinkie column is one row |
| 710 | lower than the other columns to provide some column stagger. The bottom row | 1376 | lower than the other columns to provide some column stagger. The bottom row |
| 711 | left 3 keys are the thumb keys. The remaining keys are unused. To select this | 1377 | left 3 keys are the thumb keys. The remaining keys are unused. To select this |
| 712 | mapping, append ~MIRYOKU_MAPPING=SPLIT~ to the make command line when building. | 1378 | mapping, append ~MIRYOKU_MAPPING=SPLIT~ to the ~make~ command line when |
| 1379 | building. | ||
| 1380 | |||
| 1381 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ortho_4x12-split.png]] | ||
| 1382 | |||
| 1383 | An alternative with extended thumb position but without pinkie column stagger is | ||
| 1384 | also provided. To select this mapping, append ~MIRYOKU_MAPPING=EXTENDED_THUMBS~ | ||
| 1385 | to the ~make~ command line when building. | ||
| 1386 | |||
| 1387 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ortho_4x12-extended_thumbs.png]] | ||
| 713 | 1388 | ||
| 714 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/kle-miryoku-mapping-ortho_4x12-split.png]] | 1389 | Keyboards supporting this layout: chimera_ls, contra, efreet, jj40, jnao, lets_split, lets_split_eh, meira, niu_mini, quark, tau4, telophase, vitamins_included, zlant, 40percentclub/4x4, 40percentclub/nori, acheron/shark, boardsource/4x12, cannonkeys/ortho48, dm9records/plaid, evyd13/eon40, evyd13/pockettype, handwired/floorboard, handwired/jotanck, handwired/wulkan, kbdfans/kbd4x, keebio/levinson, keebio/wavelet, mechstudio/ud_40_ortho, planck/ez, planck/light, planck/rev1, planck/rev2, planck/rev3, planck/rev4, planck/rev5, planck/rev6, planck/thk, rgbkb/zygomorph, zvecr/split_blackpill, zvecr/zv48, keebio/nyquist/rev1, keebio/nyquist/rev2, keebio/nyquist/rev3, montsinger/rebound/rev1, montsinger/rebound/rev2, montsinger/rebound/rev3, montsinger/rebound/rev4, signum/3_0/elitec, spaceman/pancake/feather, spaceman/pancake/promicro, ymdk/ymd40/v2. |
| 715 | 1390 | ||
| 716 | To build for any keyboard using this layout (4x4, nori, chimera_ls, contra, | 1391 | Example build command lines: |
| 717 | divergetm2, jj40, lets_split, lets_split_eh, meira, niu_mini, planck, telophase, | ||
| 718 | vitamins_included, zinc, zlant, ortho48, kbd4x, levinson, wavelet, plaid): | ||
| 719 | 1392 | ||
| 720 | #+BEGIN_SRC sh :tangle no | 1393 | #+BEGIN_SRC sh :tangle no |
| 721 | make planck/rev6:manna-harbour_miryoku:flash # planck | 1394 | make planck/rev6:manna-harbour_miryoku:flash FORCE_LAYOUT=ortho_4x12 # planck, ortho_4x12 |
| 1395 | make planck/rev6:manna-harbour_miryoku:flash FORCE_LAYOUT=ortho_4x12 MIRYOKU_MAPPING=EXTENDED_THUMBS # planck, ortho_4x12, extended thumbs | ||
| 722 | make keebio/levinson:manna-harbour_miryoku:flash MIRYOKU_MAPPING=SPLIT # levinson | 1396 | make keebio/levinson:manna-harbour_miryoku:flash MIRYOKU_MAPPING=SPLIT # levinson |
| 1397 | make keebio/levinson:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS # levinson, extended thumbs | ||
| 723 | #+END_SRC | 1398 | #+END_SRC |
| 724 | 1399 | ||
| 725 | 1400 | ||
| 726 | **** config.h | 1401 | **** [[../../layouts/community/ortho_4x12/manna-harbour_miryoku/config.h][layouts/community/ortho_4x12/manna-harbour_miryoku/config.h]] |
| 727 | 1402 | ||
| 728 | Contains subset mapping. | 1403 | Contains subset mapping. |
| 729 | 1404 | ||
| 730 | [[../../layouts/community/ortho_4x12/manna-harbour_miryoku/config.h][layouts/community/ortho_4x12/manna-harbour_miryoku/config.h]] | 1405 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/config.h |
| 731 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/config.h | ||
| 732 | // <<header>> | 1406 | // <<header>> |
| 733 | 1407 | ||
| 1408 | <<license-qmk>> | ||
| 1409 | |||
| 734 | #pragma once | 1410 | #pragma once |
| 735 | 1411 | ||
| 736 | #if defined MIRYOKU_MAPPING_SPLIT | 1412 | #if defined MIRYOKU_MAPPING_SPLIT |
| 737 | #define LAYOUT_miryoku(\ | 1413 | #define LAYOUT_miryoku(\ |
| 738 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | 1414 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ |
| 739 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | 1415 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ |
| 740 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | 1416 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ |
| 741 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | 1417 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ |
| 742 | )\ | 1418 | )\ |
| 743 | LAYOUT_ortho_4x12(\ | 1419 | LAYOUT_ortho_4x12(\ |
| 744 | KC_NO, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, KC_NO,\ | 1420 | KC_NO, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, KC_NO,\ |
| @@ -746,101 +1422,1170 @@ K00, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K09 | |||
| 746 | K10, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K19,\ | 1422 | K10, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K19,\ |
| 747 | K20, KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO, K29\ | 1423 | K20, KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO, K29\ |
| 748 | ) | 1424 | ) |
| 1425 | #elif defined MIRYOKU_MAPPING_EXTENDED_THUMBS | ||
| 1426 | #define LAYOUT_miryoku(\ | ||
| 1427 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1428 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1429 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1430 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1431 | )\ | ||
| 1432 | LAYOUT_ortho_4x12(\ | ||
| 1433 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ | ||
| 1434 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ | ||
| 1435 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ | ||
| 1436 | KC_NO, KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO, KC_NO\ | ||
| 1437 | ) | ||
| 749 | #else | 1438 | #else |
| 750 | #define LAYOUT_miryoku(\ | 1439 | #define LAYOUT_miryoku(\ |
| 751 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | 1440 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ |
| 752 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | 1441 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ |
| 753 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | 1442 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ |
| 754 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | 1443 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ |
| 755 | )\ | 1444 | )\ |
| 756 | LAYOUT_ortho_4x12(\ | 1445 | LAYOUT_ortho_4x12(\ |
| 757 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ | 1446 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ |
| 758 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ | 1447 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ |
| 759 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ | 1448 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ |
| 760 | KC_NO, KC_NO, K32, K33, K34, K34, K35, K35, K36, K37, KC_NO, KC_NO\ | 1449 | KC_NO, KC_NO, K32, K33, K34, KC_NO, KC_NO, K35, K36, K37, KC_NO, KC_NO\ |
| 761 | ) | 1450 | ) |
| 762 | #endif | 1451 | #endif |
| 763 | #+END_SRC | 1452 | #+END_SRC |
| 764 | 1453 | ||
| 765 | 1454 | ||
| 766 | **** keymap.c | 1455 | **** [[../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c][layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c]] |
| 1456 | |||
| 1457 | Required by the build system. | ||
| 1458 | |||
| 1459 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c | ||
| 1460 | // <<header>> | ||
| 1461 | |||
| 1462 | <<license-qmk>> | ||
| 1463 | #+END_SRC | ||
| 1464 | |||
| 1465 | |||
| 1466 | *** ortho_5x12 | ||
| 1467 | |||
| 1468 | As per ortho_4x12 but the top row is unused. | ||
| 1469 | |||
| 1470 | Keyboards supporting this layout: fractal, jj50, jnao, boardsource/5x12, cannonkeys/atlas_alps, cannonkeys/ortho60, handwired/jot50, handwired/riblee_f401, handwired/riblee_f411, handwired/rs60, keycapsss/o4l_5x12, peej/lumberjack, preonic/rev1, preonic/rev2, preonic/rev3, rgbkb/zygomorph, keebio/nyquist/rev1, keebio/nyquist/rev2, keebio/nyquist/rev3. | ||
| 1471 | |||
| 1472 | Example build command lines: | ||
| 1473 | |||
| 1474 | #+BEGIN_SRC sh :tangle no | ||
| 1475 | make preonic/rev3:manna-harbour_miryoku:flash # preonic/rev3 | ||
| 1476 | make preonic/rev3:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS # preonic/rev3, extended thumbs | ||
| 1477 | make keebio/nyquist/rev3:manna-harbour_miryoku:flash MIRYOKU_MAPPING=SPLIT # nyquist/rev3, split | ||
| 1478 | make keebio/nyquist/rev3:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS # nyquist/rev3, extended thumbs | ||
| 1479 | |||
| 1480 | #+END_SRC | ||
| 1481 | |||
| 1482 | |||
| 1483 | **** [[../../layouts/community/ortho_5x12/manna-harbour_miryoku/config.h][layouts/community/ortho_5x12/manna-harbour_miryoku/config.h]] | ||
| 1484 | |||
| 1485 | Contains subset mapping. | ||
| 1486 | |||
| 1487 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_5x12/manna-harbour_miryoku/config.h | ||
| 1488 | // <<header>> | ||
| 1489 | |||
| 1490 | <<license-qmk>> | ||
| 1491 | |||
| 1492 | #pragma once | ||
| 1493 | |||
| 1494 | #if defined MIRYOKU_MAPPING_SPLIT | ||
| 1495 | #define LAYOUT_miryoku(\ | ||
| 1496 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1497 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1498 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1499 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1500 | )\ | ||
| 1501 | LAYOUT_ortho_5x12(\ | ||
| 1502 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\ | ||
| 1503 | KC_NO, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, KC_NO,\ | ||
| 1504 | K00, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K09,\ | ||
| 1505 | K10, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K19,\ | ||
| 1506 | K20, KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO, K29\ | ||
| 1507 | ) | ||
| 1508 | #elif defined MIRYOKU_MAPPING_EXTENDED_THUMBS | ||
| 1509 | #define LAYOUT_miryoku(\ | ||
| 1510 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1511 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1512 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1513 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1514 | )\ | ||
| 1515 | LAYOUT_ortho_5x12(\ | ||
| 1516 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\ | ||
| 1517 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ | ||
| 1518 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ | ||
| 1519 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ | ||
| 1520 | KC_NO, KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO, KC_NO\ | ||
| 1521 | ) | ||
| 1522 | #else | ||
| 1523 | #define LAYOUT_miryoku(\ | ||
| 1524 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1525 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1526 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1527 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1528 | )\ | ||
| 1529 | LAYOUT_ortho_5x12(\ | ||
| 1530 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\ | ||
| 1531 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ | ||
| 1532 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ | ||
| 1533 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ | ||
| 1534 | KC_NO, KC_NO, K32, K33, K34, KC_NO, KC_NO, K35, K36, K37, KC_NO, KC_NO\ | ||
| 1535 | ) | ||
| 1536 | #endif | ||
| 1537 | #+END_SRC | ||
| 1538 | |||
| 1539 | |||
| 1540 | **** [[../../layouts/community/ortho_5x12/manna-harbour_miryoku/keymap.c][layouts/community/ortho_5x12/manna-harbour_miryoku/keymap.c]] | ||
| 1541 | |||
| 1542 | Required by the build system. | ||
| 1543 | |||
| 1544 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_5x12/manna-harbour_miryoku/keymap.c | ||
| 1545 | // <<header>> | ||
| 1546 | |||
| 1547 | <<license-qmk>> | ||
| 1548 | #+END_SRC | ||
| 1549 | |||
| 1550 | |||
| 1551 | *** ortho_5x15 | ||
| 1552 | |||
| 1553 | For the ortho_5x15 layout, the top row, middle 5 columns, and the 2 keys on each | ||
| 1554 | end of the bottom row are unused. This allows the hands to be positioned | ||
| 1555 | without ulnar deviation of the wrists. | ||
| 1556 | |||
| 1557 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ortho_5x15.png]] | ||
| 1558 | |||
| 1559 | An alternative subset mapping is also provided with the thumb keys shifted | ||
| 1560 | across one position in the direction of thumb extension. To select this | ||
| 1561 | mapping, append ~MIRYOKU_MAPPING=EXTENDED_THUMBS~ to the ~make~ command line | ||
| 1562 | when building. | ||
| 1563 | |||
| 1564 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-ortho_5x15-extended_thumbs.png]] | ||
| 1565 | |||
| 1566 | Keyboards supporting this layout: atomic, geminate60, idobo, punk75, xd75, 40percentclub/5x5, 40percentclub/i75, cannonkeys/ortho75, sendyyeah/75pixels. | ||
| 1567 | |||
| 1568 | Example build command lines: | ||
| 1569 | |||
| 1570 | #+BEGIN_SRC sh :tangle no | ||
| 1571 | make atomic:manna-harbour_miryoku:flash # atomic | ||
| 1572 | make atomic:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS # atomic, extended thumbs | ||
| 1573 | make idobo:manna-harbour_miryoku:flash # idobo | ||
| 1574 | #+END_SRC | ||
| 1575 | |||
| 1576 | |||
| 1577 | **** [[../../layouts/community/ortho_5x15/manna-harbour_miryoku/config.h][layouts/community/ortho_5x15/manna-harbour_miryoku/config.h]] | ||
| 1578 | |||
| 1579 | Contains subset mapping. | ||
| 1580 | |||
| 1581 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_5x15/manna-harbour_miryoku/config.h | ||
| 1582 | // <<header>> | ||
| 1583 | |||
| 1584 | <<license-qmk>> | ||
| 1585 | |||
| 1586 | #pragma once | ||
| 1587 | |||
| 1588 | #define XXX KC_NO | ||
| 1589 | |||
| 1590 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS | ||
| 1591 | #define LAYOUT_miryoku(\ | ||
| 1592 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1593 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1594 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1595 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1596 | )\ | ||
| 1597 | LAYOUT_ortho_5x15(\ | ||
| 1598 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 1599 | K00, K01, K02, K03, K04, XXX, XXX, XXX, XXX, XXX, K05, K06, K07, K08, K09,\ | ||
| 1600 | K10, K11, K12, K13, K14, XXX, XXX, XXX, XXX, XXX, K15, K16, K17, K18, K19,\ | ||
| 1601 | K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29,\ | ||
| 1602 | XXX, XXX, XXX, K32, K33, K34, XXX, XXX, XXX, K35, K36, K37, XXX, XXX, XXX\ | ||
| 1603 | ) | ||
| 1604 | #else | ||
| 1605 | #define LAYOUT_miryoku(\ | ||
| 1606 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1607 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1608 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1609 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1610 | )\ | ||
| 1611 | LAYOUT_ortho_5x15(\ | ||
| 1612 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 1613 | K00, K01, K02, K03, K04, XXX, XXX, XXX, XXX, XXX, K05, K06, K07, K08, K09,\ | ||
| 1614 | K10, K11, K12, K13, K14, XXX, XXX, XXX, XXX, XXX, K15, K16, K17, K18, K19,\ | ||
| 1615 | K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29,\ | ||
| 1616 | XXX, XXX, K32, K33, K34, XXX, XXX, XXX, XXX, XXX, K35, K36, K37, XXX, XXX\ | ||
| 1617 | ) | ||
| 1618 | #endif | ||
| 1619 | #+END_SRC | ||
| 1620 | |||
| 1621 | #+RESULTS: | ||
| 1622 | |||
| 1623 | |||
| 1624 | **** [[../../layouts/community/ortho_5x15/manna-harbour_miryoku/keymap.c][layouts/community/ortho_5x15/manna-harbour_miryoku/keymap.c]] | ||
| 1625 | |||
| 1626 | Required by the build system. | ||
| 1627 | |||
| 1628 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/ortho_5x15/manna-harbour_miryoku/keymap.c | ||
| 1629 | // <<header>> | ||
| 1630 | |||
| 1631 | <<license-qmk>> | ||
| 1632 | #+END_SRC | ||
| 1633 | |||
| 1634 | |||
| 1635 | *** planck_mit | ||
| 1636 | |||
| 1637 | The middle two columns including the middle 2u key, and the 2 keys on each end | ||
| 1638 | of the bottom row are unused. | ||
| 1639 | |||
| 1640 | Keyboards supporting this layout: bm40hsrgb, contra, efreet, jj40, latin47ble, mt40, niu_mini, quark, zlant, dm9records/plaid, evyd13/eon40, handwired/aranck, handwired/heisenberg, kbdfans/kbd4x, planck/ez, planck/light, planck/rev1, planck/rev2, planck/rev3, planck/rev4, planck/rev5, planck/rev6, planck/thk, spaceman/pancake/feather, spaceman/pancake/promicro. | ||
| 1641 | |||
| 1642 | Example build command lines: | ||
| 1643 | |||
| 1644 | #+BEGIN_SRC sh :tangle no | ||
| 1645 | make planck/ez:manna-harbour_miryoku:flash # planck ez | ||
| 1646 | make planck/rev6:manna-harbour_miryoku:flash FORCE_LAYOUT=planck_mit # planck rev6, mit | ||
| 1647 | |||
| 1648 | #+END_SRC | ||
| 1649 | |||
| 1650 | **** [[../../layouts/community/planck_mit/manna-harbour_miryoku/config.h][layouts/community/planck_mit/manna-harbour_miryoku/config.h]] | ||
| 1651 | |||
| 1652 | Contains subset mapping. | ||
| 1653 | |||
| 1654 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/planck_mit/manna-harbour_miryoku/config.h | ||
| 1655 | // <<header>> | ||
| 1656 | |||
| 1657 | <<license-qmk>> | ||
| 1658 | |||
| 1659 | #pragma once | ||
| 1660 | |||
| 1661 | #define LAYOUT_miryoku(\ | ||
| 1662 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1663 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1664 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1665 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1666 | )\ | ||
| 1667 | LAYOUT_planck_mit(\ | ||
| 1668 | K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\ | ||
| 1669 | K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\ | ||
| 1670 | K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\ | ||
| 1671 | KC_NO, KC_NO, K32, K33, K34, KC_NO, K35, K36, K37, KC_NO, KC_NO\ | ||
| 1672 | ) | ||
| 1673 | #+END_SRC | ||
| 1674 | |||
| 1675 | |||
| 1676 | **** [[../../layouts/community/planck_mit/manna-harbour_miryoku/keymap.c][layouts/community/planck_mit/manna-harbour_miryoku/keymap.c]] | ||
| 1677 | |||
| 1678 | Required by the build system. | ||
| 1679 | |||
| 1680 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/planck_mit/manna-harbour_miryoku/keymap.c | ||
| 1681 | // <<header>> | ||
| 1682 | |||
| 1683 | <<license-qmk>> | ||
| 1684 | #+END_SRC | ||
| 1685 | |||
| 1686 | |||
| 1687 | *** split_3x5_3 | ||
| 1688 | |||
| 1689 | Keyboards supporting this layout: arch_36, boardsource/microdox, centromere, crkbd, eek, miniaxe, minidox/rev1, pteron36, squiggle/rev1, suihankey/split/rev1. | ||
| 1690 | |||
| 1691 | Example build command lines: | ||
| 1692 | |||
| 1693 | #+BEGIN_SRC sh :tangle no | ||
| 1694 | make crkbd:manna-harbour_miryoku:flash # crkbd | ||
| 1695 | make minidox:manna-harbour_miryoku:flash # minidox | ||
| 1696 | #+END_SRC | ||
| 1697 | |||
| 1698 | |||
| 1699 | **** [[../../layouts/community/split_3x5_3/manna-harbour_miryoku/config.h][layouts/community/split_3x5_3/manna-harbour_miryoku/config.h]] | ||
| 1700 | |||
| 1701 | Contains subset mapping. | ||
| 1702 | |||
| 1703 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/split_3x5_3/manna-harbour_miryoku/config.h | ||
| 1704 | // <<header>> | ||
| 1705 | |||
| 1706 | <<license-qmk>> | ||
| 1707 | |||
| 1708 | #pragma once | ||
| 1709 | |||
| 1710 | #define LAYOUT_miryoku(\ | ||
| 1711 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1712 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1713 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1714 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1715 | )\ | ||
| 1716 | LAYOUT_split_3x5_3(\ | ||
| 1717 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1718 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1719 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1720 | K32, K33, K34, K35, K36, K37\ | ||
| 1721 | ) | ||
| 1722 | #+END_SRC | ||
| 1723 | |||
| 1724 | |||
| 1725 | **** [[../../layouts/community/split_3x5_3/manna-harbour_miryoku/keymap.c][layouts/community/split_3x5_3/manna-harbour_miryoku/keymap.c]] | ||
| 767 | 1726 | ||
| 768 | Required by the build system. | 1727 | Required by the build system. |
| 769 | 1728 | ||
| 770 | [[../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c][layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c]] | 1729 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/split_3x5_3/manna-harbour_miryoku/keymap.c |
| 771 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c | ||
| 772 | // <<header>> | 1730 | // <<header>> |
| 1731 | |||
| 1732 | <<license-qmk>> | ||
| 1733 | #+END_SRC | ||
| 1734 | |||
| 1735 | |||
| 1736 | *** split_3x6_3 | ||
| 1737 | |||
| 1738 | The outer columns are unused. | ||
| 1739 | |||
| 1740 | Keyboards supporting this layout: centromere, crkbd, bastardkb/tbkmini. | ||
| 1741 | |||
| 1742 | Example build command lines: | ||
| 1743 | |||
| 1744 | #+BEGIN_SRC sh :tangle no | ||
| 1745 | make bastardkb/tbkmini:manna-harbour_miryoku:flash # bastardkb/tbkmini | ||
| 1746 | make crkbd:manna-harbour_miryoku:flash # crkbd | ||
| 1747 | #+END_SRC | ||
| 1748 | |||
| 1749 | |||
| 1750 | **** [[../../layouts/community/split_3x6_3/manna-harbour_miryoku/config.h][layouts/community/split_3x6_3/manna-harbour_miryoku/config.h]] | ||
| 1751 | |||
| 1752 | Contains subset mapping. | ||
| 1753 | |||
| 1754 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/split_3x6_3/manna-harbour_miryoku/config.h | ||
| 1755 | // <<header>> | ||
| 1756 | |||
| 1757 | <<license-qmk>> | ||
| 1758 | |||
| 1759 | #pragma once | ||
| 1760 | |||
| 1761 | #define LAYOUT_miryoku(\ | ||
| 1762 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1763 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1764 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1765 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1766 | )\ | ||
| 1767 | LAYOUT_split_3x6_3(\ | ||
| 1768 | KC_NO, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, KC_NO,\ | ||
| 1769 | KC_NO, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO,\ | ||
| 1770 | KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO,\ | ||
| 1771 | K32, K33, K34, K35, K36, K37\ | ||
| 1772 | ) | ||
| 1773 | #+END_SRC | ||
| 1774 | |||
| 1775 | |||
| 1776 | **** [[../../layouts/community/split_3x6_3/manna-harbour_miryoku/keymap.c][layouts/community/split_3x6_3/manna-harbour_miryoku/keymap.c]] | ||
| 1777 | |||
| 1778 | Required by the build system. | ||
| 1779 | |||
| 1780 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../layouts/community/split_3x6_3/manna-harbour_miryoku/keymap.c | ||
| 1781 | // <<header>> | ||
| 1782 | |||
| 1783 | <<license-qmk>> | ||
| 773 | #+END_SRC | 1784 | #+END_SRC |
| 774 | 1785 | ||
| 775 | 1786 | ||
| 776 | ** Keyboards | 1787 | ** Keyboards |
| 777 | 1788 | ||
| 778 | To use the keymap on a keyboard which does not support the layouts feature, | 1789 | To use the keymap on a keyboard which does not support the layouts feature, |
| 779 | LAYOUT_miryoku is defined as a macro mapping onto the keyboard's own LAYOUT | 1790 | ~LAYOUT_miryoku~ is defined as a macro mapping onto the keyboard's own ~LAYOUT~ |
| 780 | macro, leaving the unused keys as KC_NO. | 1791 | macro, leaving the unused keys as ~KC_NO~. |
| 781 | 1792 | ||
| 782 | The following are example keyboards. | ||
| 783 | 1793 | ||
| 784 | *** crkbd | 1794 | *** atreus |
| 785 | 1795 | ||
| 786 | The outer columns are unused. | 1796 | Only the main 5x3 alphas and the inner 3 thumb keys are used. |
| 787 | 1797 | ||
| 788 | To build for this keyboard, | 1798 | To build for this keyboard, |
| 789 | 1799 | ||
| 790 | #+BEGIN_SRC sh :tangle no | 1800 | #+BEGIN_SRC sh :tangle no |
| 791 | make crkbd:manna-harbour_miryoku:flash | 1801 | make atreus:manna-harbour_miryoku:flash |
| 792 | #+END_SRC | 1802 | #+END_SRC |
| 793 | 1803 | ||
| 794 | **** config.h | 1804 | |
| 1805 | **** [[../../keyboards/atreus/keymaps/manna-harbour_miryoku/config.h][keyboards/atreus/keymaps/manna-harbour_miryoku/config.h]] | ||
| 795 | 1806 | ||
| 796 | Contains subset mapping. | 1807 | Contains subset mapping. |
| 797 | 1808 | ||
| 798 | [[../../keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h][keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h]] | 1809 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/atreus/keymaps/manna-harbour_miryoku/config.h |
| 799 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h | ||
| 800 | // <<header>> | 1810 | // <<header>> |
| 801 | 1811 | ||
| 1812 | <<license-qmk>> | ||
| 1813 | |||
| 802 | #pragma once | 1814 | #pragma once |
| 803 | 1815 | ||
| 1816 | #define XXX KC_NO | ||
| 1817 | |||
| 1818 | #define LAYOUT_miryoku(\ | ||
| 1819 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1820 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1821 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1822 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1823 | )\ | ||
| 1824 | LAYOUT(\ | ||
| 1825 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1826 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1827 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1828 | XXX, XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX, XXX\ | ||
| 1829 | ) | ||
| 1830 | #+END_SRC | ||
| 1831 | |||
| 1832 | |||
| 1833 | **** [[../../keyboards/atreus/keymaps/manna-harbour_miryoku/keymap.c][keyboards/atreus/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 1834 | |||
| 1835 | Required by the build system. | ||
| 1836 | |||
| 1837 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/atreus/keymaps/manna-harbour_miryoku/keymap.c | ||
| 1838 | // <<header>> | ||
| 1839 | |||
| 1840 | <<license-qmk>> | ||
| 1841 | #+END_SRC | ||
| 1842 | |||
| 1843 | |||
| 1844 | *** ergotravel | ||
| 1845 | |||
| 1846 | To build for this keyboard, | ||
| 1847 | |||
| 1848 | #+BEGIN_SRC sh :tangle no | ||
| 1849 | make ergotravel:manna-harbour_miryoku:flash | ||
| 1850 | #+END_SRC | ||
| 1851 | |||
| 1852 | |||
| 1853 | **** [[../../keyboards/ergotravel/keymaps/manna-harbour_miryoku/config.h][keyboards/ergotravel/keymaps/manna-harbour_miryoku/config.h]] | ||
| 1854 | |||
| 1855 | Contains subset mapping. | ||
| 1856 | |||
| 1857 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/ergotravel/keymaps/manna-harbour_miryoku/config.h | ||
| 1858 | // <<header>> | ||
| 1859 | |||
| 1860 | <<license-qmk>> | ||
| 1861 | |||
| 1862 | #pragma once | ||
| 1863 | |||
| 1864 | #define XXX KC_NO | ||
| 1865 | |||
| 804 | #define LAYOUT_miryoku( \ | 1866 | #define LAYOUT_miryoku( \ |
| 805 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | 1867 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ |
| 806 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | 1868 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ |
| 807 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | 1869 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ |
| 808 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | 1870 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ |
| 809 | ) \ | 1871 | ) \ |
| 810 | LAYOUT( \ | 1872 | LAYOUT( \ |
| 811 | KC_NO, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, KC_NO, \ | 1873 | XXX, K00, K01, K02, K03, K04, XXX, XXX, K05, K06, K07, K08, K09, XXX, \ |
| 812 | KC_NO, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO, \ | 1874 | XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX, \ |
| 813 | KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, \ | 1875 | XXX, K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, XXX, \ |
| 814 | K32, K33, K34, K35, K36, K37 \ | 1876 | XXX, XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX, XXX \ |
| 1877 | ) | ||
| 1878 | #+END_SRC | ||
| 1879 | |||
| 1880 | |||
| 1881 | **** [[../../keyboards/ergotravel/keymaps/manna-harbour_miryoku/keymap.c][keyboards/ergotravel/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 1882 | |||
| 1883 | Required by the build system. | ||
| 1884 | |||
| 1885 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/ergotravel/keymaps/manna-harbour_miryoku/keymap.c | ||
| 1886 | // <<header>> | ||
| 1887 | |||
| 1888 | <<license-qmk>> | ||
| 1889 | #+END_SRC | ||
| 1890 | |||
| 1891 | |||
| 1892 | *** for_science | ||
| 1893 | |||
| 1894 | The top row is unused. | ||
| 1895 | |||
| 1896 | To build for this keyboard, | ||
| 1897 | |||
| 1898 | #+BEGIN_SRC sh :tangle no | ||
| 1899 | make for_science:manna-harbour_miryoku:flash | ||
| 1900 | #+END_SRC | ||
| 1901 | |||
| 1902 | |||
| 1903 | **** [[../../keyboards/for_science/keymaps/manna-harbour_miryoku/config.h][keyboards/for_science/keymaps/manna-harbour_miryoku/config.h]] | ||
| 1904 | |||
| 1905 | Contains subset mapping. | ||
| 1906 | |||
| 1907 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/for_science/keymaps/manna-harbour_miryoku/config.h | ||
| 1908 | // <<header>> | ||
| 1909 | |||
| 1910 | <<license-qmk>> | ||
| 1911 | |||
| 1912 | #pragma once | ||
| 1913 | |||
| 1914 | #define XXX KC_NO | ||
| 1915 | |||
| 1916 | #define LAYOUT_miryoku(\ | ||
| 1917 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1918 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1919 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1920 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1921 | )\ | ||
| 1922 | LAYOUT(\ | ||
| 1923 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 1924 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1925 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1926 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1927 | K32, K33, K34, K35, K36, K37\ | ||
| 1928 | ) | ||
| 1929 | #+END_SRC | ||
| 1930 | |||
| 1931 | |||
| 1932 | **** [[../../keyboards/for_science/keymaps/manna-harbour_miryoku/keymap.c][keyboards/for_science/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 1933 | |||
| 1934 | Required by the build system. | ||
| 1935 | |||
| 1936 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/for_science/keymaps/manna-harbour_miryoku/keymap.c | ||
| 1937 | // <<header>> | ||
| 1938 | |||
| 1939 | <<license-qmk>> | ||
| 1940 | #+END_SRC | ||
| 1941 | |||
| 1942 | |||
| 1943 | *** gergo | ||
| 1944 | |||
| 1945 | Only the main 5x3 alphas and the outer 3 thumb keys are used. | ||
| 1946 | |||
| 1947 | To build for this keyboard, | ||
| 1948 | |||
| 1949 | #+BEGIN_SRC sh :tangle no | ||
| 1950 | make gergo:manna-harbour_miryoku:flash | ||
| 1951 | #+END_SRC | ||
| 1952 | |||
| 1953 | |||
| 1954 | **** [[../../keyboards/gergo/keymaps/manna-harbour_miryoku/config.h][keyboards/gergo/keymaps/manna-harbour_miryoku/config.h]] | ||
| 1955 | |||
| 1956 | Contains subset mapping. | ||
| 1957 | |||
| 1958 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/gergo/keymaps/manna-harbour_miryoku/config.h | ||
| 1959 | // <<header>> | ||
| 1960 | |||
| 1961 | <<license-qmk>> | ||
| 1962 | |||
| 1963 | #pragma once | ||
| 1964 | |||
| 1965 | #define XXX KC_NO | ||
| 1966 | |||
| 1967 | #define LAYOUT_miryoku(\ | ||
| 1968 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 1969 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 1970 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 1971 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 1972 | )\ | ||
| 1973 | LAYOUT_gergo(\ | ||
| 1974 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX,\ | ||
| 1975 | XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX,\ | ||
| 1976 | XXX, K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 1977 | K32, K33, K34, XXX, XXX, K35, K36, K37\ | ||
| 1978 | ) | ||
| 1979 | #+END_SRC | ||
| 1980 | |||
| 1981 | |||
| 1982 | **** [[../../keyboards/gergo/keymaps/manna-harbour_miryoku/keymap.c][keyboards/gergo/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 1983 | |||
| 1984 | Required by the build system. | ||
| 1985 | |||
| 1986 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/gergo/keymaps/manna-harbour_miryoku/keymap.c | ||
| 1987 | // <<header>> | ||
| 1988 | |||
| 1989 | <<license-qmk>> | ||
| 1990 | #+END_SRC | ||
| 1991 | |||
| 1992 | |||
| 1993 | *** handwired/dactyl_manuform/4x5 | ||
| 1994 | |||
| 1995 | Only the main 5x3 alphas and the main 3 thumb keys are used. | ||
| 1996 | |||
| 1997 | To build for this keyboard, | ||
| 1998 | |||
| 1999 | #+BEGIN_SRC sh :tangle no | ||
| 2000 | make handwired/dactyl_manuform/4x5:manna-harbour_miryoku:flash | ||
| 2001 | #+END_SRC | ||
| 2002 | |||
| 2003 | |||
| 2004 | **** [[../../keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/config.h][keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2005 | |||
| 2006 | Contains subset mapping. | ||
| 2007 | |||
| 2008 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/config.h | ||
| 2009 | // <<header>> | ||
| 2010 | |||
| 2011 | <<license-qmk>> | ||
| 2012 | |||
| 2013 | #pragma once | ||
| 2014 | |||
| 2015 | #define XXX KC_NO | ||
| 2016 | |||
| 2017 | #define LAYOUT_miryoku(\ | ||
| 2018 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2019 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2020 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2021 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2022 | )\ | ||
| 2023 | LAYOUT( \ | ||
| 2024 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2025 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2026 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2027 | XXX, XXX, XXX, XXX, \ | ||
| 2028 | K32, K33, K36, K37, \ | ||
| 2029 | K34, XXX, XXX, K35, \ | ||
| 2030 | XXX, XXX, XXX, XXX \ | ||
| 815 | ) | 2031 | ) |
| 816 | #+END_SRC | 2032 | #+END_SRC |
| 817 | 2033 | ||
| 818 | 2034 | ||
| 819 | **** keymap.c | 2035 | **** [[../../keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/keymap.c][keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/keymap.c]] |
| 820 | 2036 | ||
| 821 | Required by the build system. | 2037 | Required by the build system. |
| 822 | 2038 | ||
| 823 | [[../../keyboards/crkbd/keymaps/manna-harbour_miryoku/keymap.c][keyboards/crkbd/keymaps/manna-harbour_miryoku/keymap.c]] | 2039 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/handwired/dactyl_manuform/4x5/keymaps/manna-harbour_miryoku/keymap.c |
| 824 | #+BEGIN_SRC C :noweb yes :padline no :tangle ../../keyboards/crkbd/keymaps/manna-harbour_miryoku/keymap.c | ||
| 825 | // <<header>> | 2040 | // <<header>> |
| 2041 | |||
| 2042 | <<license-qmk>> | ||
| 826 | #+END_SRC | 2043 | #+END_SRC |
| 827 | 2044 | ||
| 828 | 2045 | ||
| 829 | * Documentation | 2046 | *** handwired/dactyl_manuform/5x6 |
| 2047 | |||
| 2048 | Only the main 5x3 alphas and the main 3 thumb keys are used. | ||
| 2049 | |||
| 2050 | To build for this keyboard, | ||
| 2051 | |||
| 2052 | #+BEGIN_SRC sh :tangle no | ||
| 2053 | make handwired/dactyl_manuform/5x6:manna-harbour_miryoku:flash | ||
| 2054 | #+END_SRC | ||
| 2055 | |||
| 2056 | |||
| 2057 | **** [[../../keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/config.h][keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2058 | |||
| 2059 | Contains subset mapping. | ||
| 2060 | |||
| 2061 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/config.h | ||
| 2062 | // <<header>> | ||
| 2063 | |||
| 2064 | <<license-qmk>> | ||
| 2065 | |||
| 2066 | #pragma once | ||
| 2067 | |||
| 2068 | #define XXX KC_NO | ||
| 2069 | |||
| 2070 | #define LAYOUT_miryoku(\ | ||
| 2071 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2072 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2073 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 2074 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
| 2075 | ) \ | ||
| 2076 | LAYOUT_5x6( \ | ||
| 2077 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, \ | ||
| 2078 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \ | ||
| 2079 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \ | ||
| 2080 | XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \ | ||
| 2081 | XXX, XXX, XXX, XXX, \ | ||
| 2082 | K32, K33, K36, K37, \ | ||
| 2083 | K34, XXX, XXX, K35, \ | ||
| 2084 | XXX, XXX, XXX, XXX \ | ||
| 2085 | ) | ||
| 2086 | #+END_SRC | ||
| 2087 | |||
| 2088 | |||
| 2089 | **** [[../../keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/keymap.c][keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2090 | |||
| 2091 | Required by the build system. | ||
| 2092 | |||
| 2093 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/handwired/dactyl_manuform/5x6/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2094 | // <<header>> | ||
| 2095 | |||
| 2096 | <<license-qmk>> | ||
| 2097 | #+END_SRC | ||
| 2098 | |||
| 2099 | |||
| 2100 | *** keebio/iris | ||
| 2101 | |||
| 2102 | Only the main 5x3 alphas and the bottom 3 thumb keys are used. | ||
| 2103 | |||
| 2104 | To build for this keyboard, | ||
| 2105 | |||
| 2106 | #+BEGIN_SRC sh :tangle no | ||
| 2107 | make keebio/iris/rev4:manna-harbour_miryoku:flash | ||
| 2108 | #+END_SRC | ||
| 2109 | |||
| 2110 | |||
| 2111 | **** [[../../keyboards/keebio/iris/keymaps/manna-harbour_miryoku/config.h][keyboards/keebio/iris/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2112 | |||
| 2113 | Contains subset mapping. | ||
| 2114 | |||
| 2115 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/keebio/iris/keymaps/manna-harbour_miryoku/config.h | ||
| 2116 | // <<header>> | ||
| 2117 | |||
| 2118 | <<license-qmk>> | ||
| 2119 | |||
| 2120 | #pragma once | ||
| 2121 | |||
| 2122 | #define XXX KC_NO | ||
| 2123 | |||
| 2124 | #define LAYOUT_miryoku(\ | ||
| 2125 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2126 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2127 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2128 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2129 | )\ | ||
| 2130 | LAYOUT(\ | ||
| 2131 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 2132 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX,\ | ||
| 2133 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX,\ | ||
| 2134 | XXX, K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 2135 | K32, K33, K34, K35, K36, K37\ | ||
| 2136 | ) | ||
| 2137 | #+END_SRC | ||
| 2138 | |||
| 2139 | |||
| 2140 | **** [[../../keyboards/keebio/iris/keymaps/manna-harbour_miryoku/keymap.c][keyboards/keebio/iris/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2141 | |||
| 2142 | Required by the build system. | ||
| 2143 | |||
| 2144 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/keebio/iris/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2145 | // <<header>> | ||
| 2146 | |||
| 2147 | <<license-qmk>> | ||
| 2148 | #+END_SRC | ||
| 2149 | |||
| 2150 | |||
| 2151 | *** keyboardio/atreus | ||
| 2152 | |||
| 2153 | Only the main 5x3 alphas and the inner 3 thumb keys are used. | ||
| 2154 | |||
| 2155 | To build for this keyboard, | ||
| 2156 | |||
| 2157 | #+BEGIN_SRC sh :tangle no | ||
| 2158 | make keyboardio/atreus:manna-harbour_miryoku:flash | ||
| 2159 | #+END_SRC | ||
| 2160 | |||
| 2161 | |||
| 2162 | **** [[../../keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/config.h][keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2163 | |||
| 2164 | Contains subset mapping. | ||
| 2165 | |||
| 2166 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/config.h | ||
| 2167 | // <<header>> | ||
| 2168 | |||
| 2169 | <<license-qmk>> | ||
| 2170 | |||
| 2171 | #pragma once | ||
| 2172 | |||
| 2173 | #define XXX KC_NO | ||
| 2174 | |||
| 2175 | #define LAYOUT_miryoku( \ | ||
| 2176 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2177 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2178 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 2179 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
| 2180 | ) \ | ||
| 2181 | LAYOUT( \ | ||
| 2182 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2183 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2184 | K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, \ | ||
| 2185 | XXX, XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX, XXX \ | ||
| 2186 | ) | ||
| 2187 | #+END_SRC | ||
| 2188 | |||
| 2189 | |||
| 2190 | **** [[../../keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/keymap.c][keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2191 | |||
| 2192 | Required by the build system. | ||
| 2193 | |||
| 2194 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/keyboardio/atreus/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2195 | // <<header>> | ||
| 2196 | |||
| 2197 | <<license-qmk>> | ||
| 2198 | #+END_SRC | ||
| 2199 | |||
| 2200 | |||
| 2201 | *** kyria | ||
| 2202 | |||
| 2203 | Only the main 5x3 alphas and the middle 3 lower thumb keys are used. | ||
| 2204 | |||
| 2205 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-kyria.png]] | ||
| 2206 | |||
| 2207 | An alternative subset mapping is also provided with the thumb keys shifted one | ||
| 2208 | position in the direction of thumb extension. To select this mapping, append | ||
| 2209 | ~MIRYOKU_MAPPING=EXTENDED_THUMBS~ to the ~make~ command line when building. | ||
| 2210 | |||
| 2211 | [[https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/mapping/miryoku-kle-mapping-kyria-extended_thumbs.png]] | ||
| 2212 | |||
| 2213 | |||
| 2214 | To build for this keyboard, | ||
| 2215 | |||
| 2216 | #+BEGIN_SRC sh :tangle no | ||
| 2217 | make kyria:manna-harbour_miryoku:flash | ||
| 2218 | make kyria:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS # extended thumb position | ||
| 2219 | #+END_SRC | ||
| 2220 | |||
| 2221 | |||
| 2222 | **** [[../../keyboards/kyria/keymaps/manna-harbour_miryoku/config.h][keyboards/kyria/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2223 | |||
| 2224 | Contains subset mapping. | ||
| 2225 | |||
| 2226 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/kyria/keymaps/manna-harbour_miryoku/config.h | ||
| 2227 | // <<header>> | ||
| 2228 | |||
| 2229 | <<license-qmk>> | ||
| 2230 | |||
| 2231 | #pragma once | ||
| 2232 | |||
| 2233 | #define XXX KC_NO | ||
| 2234 | |||
| 2235 | #if defined MIRYOKU_MAPPING_EXTENDED_THUMBS | ||
| 2236 | #define LAYOUT_miryoku( \ | ||
| 2237 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2238 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2239 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 2240 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
| 2241 | ) \ | ||
| 2242 | LAYOUT( \ | ||
| 2243 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \ | ||
| 2244 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \ | ||
| 2245 | XXX, K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29, XXX, \ | ||
| 2246 | XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX \ | ||
| 2247 | ) | ||
| 2248 | #else | ||
| 2249 | #define LAYOUT_miryoku( \ | ||
| 2250 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2251 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2252 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 2253 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
| 2254 | ) \ | ||
| 2255 | LAYOUT( \ | ||
| 2256 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \ | ||
| 2257 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \ | ||
| 2258 | XXX, K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29, XXX, \ | ||
| 2259 | XXX, K32, K33, K34, XXX, XXX, K35, K36, K37, XXX \ | ||
| 2260 | ) | ||
| 2261 | #endif | ||
| 2262 | #+END_SRC | ||
| 2263 | |||
| 2264 | |||
| 2265 | **** [[../../keyboards/kyria/keymaps/manna-harbour_miryoku/keymap.c][keyboards/kyria/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2266 | |||
| 2267 | Required by the build system. | ||
| 2268 | |||
| 2269 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/kyria/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2270 | // <<header>> | ||
| 2271 | |||
| 2272 | <<license-qmk>> | ||
| 2273 | #+END_SRC | ||
| 2274 | |||
| 2275 | |||
| 2276 | *** lily58 | ||
| 2277 | |||
| 2278 | Only the main 5x3 alphas and the inner 3 thumb keys are used. | ||
| 2279 | |||
| 2280 | To build for this keyboard, | ||
| 2281 | |||
| 2282 | #+BEGIN_SRC sh :tangle no | ||
| 2283 | make lily58:manna-harbour_miryoku:flash | ||
| 2284 | #+END_SRC | ||
| 2285 | |||
| 2286 | |||
| 2287 | **** [[../../keyboards/lily58/keymaps/manna-harbour_miryoku/config.h][keyboards/lily58/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2288 | |||
| 2289 | Contains subset mapping. | ||
| 2290 | |||
| 2291 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/lily58/keymaps/manna-harbour_miryoku/config.h | ||
| 2292 | // <<header>> | ||
| 2293 | |||
| 2294 | <<license-qmk>> | ||
| 2295 | |||
| 2296 | #pragma once | ||
| 2297 | |||
| 2298 | #define XXX KC_NO | ||
| 2299 | |||
| 2300 | #define LAYOUT_miryoku(\ | ||
| 2301 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2302 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2303 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2304 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2305 | )\ | ||
| 2306 | LAYOUT(\ | ||
| 2307 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 2308 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX,\ | ||
| 2309 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX,\ | ||
| 2310 | XXX, K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 2311 | XXX, K32, K33, K34, K35, K36, K37, XXX\ | ||
| 2312 | ) | ||
| 2313 | #+END_SRC | ||
| 2314 | |||
| 2315 | |||
| 2316 | **** [[../../keyboards/lily58/keymaps/manna-harbour_miryoku/keymap.c][keyboards/lily58/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2317 | |||
| 2318 | Required by the build system. | ||
| 2319 | |||
| 2320 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/lily58/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2321 | // <<header>> | ||
| 2322 | |||
| 2323 | <<license-qmk>> | ||
| 2324 | #+END_SRC | ||
| 2325 | |||
| 2326 | |||
| 2327 | *** moonlander | ||
| 2328 | |||
| 2329 | The main 5x3 alphas are used as usual. The primary, secondary, and tertiary | ||
| 2330 | thumb keys are the closest piano key, middle piano key, and the innermost key of | ||
| 2331 | the partial bottom row, respectively. The remaining keys are unused. | ||
| 2332 | |||
| 2333 | To build for this keyboard, | ||
| 2334 | |||
| 2335 | #+BEGIN_SRC sh :tangle no | ||
| 2336 | make moonlander:manna-harbour_miryoku:flash | ||
| 2337 | #+END_SRC | ||
| 2338 | |||
| 2339 | |||
| 2340 | **** [[../../keyboards/moonlander/keymaps/manna-harbour_miryoku/config.h][keyboards/moonlander/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2341 | |||
| 2342 | Contains subset mapping. | ||
| 2343 | |||
| 2344 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/moonlander/keymaps/manna-harbour_miryoku/config.h | ||
| 2345 | // <<header>> | ||
| 2346 | |||
| 2347 | <<license-qmk>> | ||
| 2348 | |||
| 2349 | #pragma once | ||
| 2350 | |||
| 2351 | #define XXX KC_NO | ||
| 2352 | |||
| 2353 | #define LAYOUT_miryoku(\ | ||
| 2354 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2355 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2356 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2357 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2358 | )\ | ||
| 2359 | LAYOUT_moonlander(\ | ||
| 2360 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 2361 | XXX, K00, K01, K02, K03, K04, XXX, XXX, K05, K06, K07, K08, K09, XXX,\ | ||
| 2362 | XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX,\ | ||
| 2363 | XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX,\ | ||
| 2364 | XXX, XXX, XXX, XXX, K32, XXX, XXX, K37, XXX, XXX, XXX, XXX,\ | ||
| 2365 | K33, K34, XXX, XXX, K35, K36\ | ||
| 2366 | ) | ||
| 2367 | #+END_SRC | ||
| 2368 | |||
| 2369 | |||
| 2370 | **** [[../../keyboards/moonlander/keymaps/manna-harbour_miryoku/keymap.c][keyboards/moonlander/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2371 | |||
| 2372 | Required by the build system. | ||
| 2373 | |||
| 2374 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/moonlander/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2375 | // <<header>> | ||
| 2376 | |||
| 2377 | <<license-qmk>> | ||
| 2378 | #+END_SRC | ||
| 2379 | |||
| 2380 | |||
| 2381 | *** redox_w | ||
| 2382 | |||
| 2383 | Only the main 5x3 alphas and the main 3 thumb keys are used. | ||
| 2384 | |||
| 2385 | To build for this keyboard, | ||
| 2386 | |||
| 2387 | #+BEGIN_SRC sh :tangle no | ||
| 2388 | make redox_w:manna-harbour_miryoku:flash | ||
| 2389 | #+END_SRC | ||
| 2390 | |||
| 2391 | |||
| 2392 | **** [[../../keyboards/redox_w/keymaps/manna-harbour_miryoku/config.h][keyboards/redox_w/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2393 | |||
| 2394 | Contains subset mapping. | ||
| 2395 | |||
| 2396 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/redox_w/keymaps/manna-harbour_miryoku/config.h | ||
| 2397 | // <<header>> | ||
| 2398 | |||
| 2399 | <<license-qmk>> | ||
| 2400 | |||
| 2401 | #pragma once | ||
| 2402 | |||
| 2403 | #define XXX KC_NO | ||
| 2404 | |||
| 2405 | #define LAYOUT_miryoku(\ | ||
| 2406 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2407 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2408 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2409 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2410 | )\ | ||
| 2411 | LAYOUT(\ | ||
| 2412 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 2413 | XXX, K00, K01, K02, K03, K04, XXX, XXX, K05, K06, K07, K08, K09, XXX,\ | ||
| 2414 | XXX, K10, K11, K12, K13, K14, XXX, XXX, K15, K16, K17, K18, K19, XXX,\ | ||
| 2415 | XXX, K20, K21, K22, K23, K24, XXX, XXX, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 2416 | XXX, XXX, XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX, XXX, XXX\ | ||
| 2417 | ) | ||
| 2418 | #+END_SRC | ||
| 2419 | |||
| 2420 | #+RESULTS: | ||
| 2421 | |||
| 2422 | |||
| 2423 | **** [[../../keyboards/redox_w/keymaps/manna-harbour_miryoku/keymap.c][keyboards/redox_w/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2424 | |||
| 2425 | Required by the build system. | ||
| 2426 | |||
| 2427 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/redox_w/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2428 | // <<header>> | ||
| 2429 | |||
| 2430 | <<license-qmk>> | ||
| 2431 | #+END_SRC | ||
| 2432 | |||
| 2433 | |||
| 2434 | *** sofle | ||
| 2435 | |||
| 2436 | To build for this keyboard, | ||
| 2437 | |||
| 2438 | #+BEGIN_SRC sh :tangle no | ||
| 2439 | make sofle:manna-harbour_miryoku:flash | ||
| 2440 | #+END_SRC | ||
| 2441 | |||
| 2442 | |||
| 2443 | **** [[../../keyboards/sofle/keymaps/manna-harbour_miryoku/config.h][keyboards/sofle/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2444 | |||
| 2445 | Contains subset mapping. | ||
| 2446 | |||
| 2447 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/sofle/keymaps/manna-harbour_miryoku/config.h | ||
| 2448 | // <<header>> | ||
| 2449 | |||
| 2450 | <<license-qmk>> | ||
| 2451 | |||
| 2452 | #pragma once | ||
| 2453 | |||
| 2454 | #define XXX KC_NO | ||
| 2455 | |||
| 2456 | #define LAYOUT_miryoku(\ | ||
| 2457 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ | ||
| 2458 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ | ||
| 2459 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ | ||
| 2460 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\ | ||
| 2461 | )\ | ||
| 2462 | LAYOUT(\ | ||
| 2463 | XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,\ | ||
| 2464 | XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX,\ | ||
| 2465 | XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX,\ | ||
| 2466 | XXX, K20, K21, K22, K23, K24, XXX, XXX, K25, K26, K27, K28, K29, XXX,\ | ||
| 2467 | XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX\ | ||
| 2468 | ) | ||
| 2469 | #+END_SRC | ||
| 2470 | |||
| 2471 | |||
| 2472 | **** [[../../keyboards/sofle/keymaps/manna-harbour_miryoku/keymap.c][keyboards/sofle/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2473 | |||
| 2474 | Required by the build system. | ||
| 2475 | |||
| 2476 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/sofle/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2477 | // <<header>> | ||
| 2478 | |||
| 2479 | <<license-qmk>> | ||
| 2480 | #+END_SRC | ||
| 2481 | |||
| 2482 | |||
| 2483 | *** torn | ||
| 2484 | |||
| 2485 | To build for this keyboard, | ||
| 2486 | |||
| 2487 | #+BEGIN_SRC sh :tangle no | ||
| 2488 | make torn:manna-harbour_miryoku:flash | ||
| 2489 | #+END_SRC | ||
| 2490 | |||
| 2491 | |||
| 2492 | **** [[../../keyboards/torn/keymaps/manna-harbour_miryoku/config.h][keyboards/torn/keymaps/manna-harbour_miryoku/config.h]] | ||
| 2493 | |||
| 2494 | Contains subset mapping. | ||
| 2495 | |||
| 2496 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/torn/keymaps/manna-harbour_miryoku/config.h | ||
| 2497 | // <<header>> | ||
| 2498 | |||
| 2499 | <<license-qmk>> | ||
| 2500 | |||
| 2501 | #pragma once | ||
| 2502 | |||
| 2503 | #define LAYOUT_miryoku( \ | ||
| 2504 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 2505 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 2506 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 2507 | N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \ | ||
| 2508 | ) \ | ||
| 2509 | LAYOUT_split_3x6_4( \ | ||
| 2510 | KC_NO, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, KC_NO, \ | ||
| 2511 | KC_NO, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO, \ | ||
| 2512 | KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, \ | ||
| 2513 | KC_NO, K32, K33, K34, K35, K36, K37, KC_NO \ | ||
| 2514 | ) | ||
| 2515 | #+END_SRC | ||
| 2516 | |||
| 2517 | #+RESULTS: | ||
| 2518 | |||
| 2519 | |||
| 2520 | **** [[../../keyboards/torn/keymaps/manna-harbour_miryoku/keymap.c][keyboards/torn/keymaps/manna-harbour_miryoku/keymap.c]] | ||
| 2521 | |||
| 2522 | Required by the build system. | ||
| 2523 | |||
| 2524 | #+BEGIN_SRC C :main no :noweb yes :padline no :tangle ../../keyboards/torn/keymaps/manna-harbour_miryoku/keymap.c | ||
| 2525 | // <<header>> | ||
| 2526 | |||
| 2527 | <<license-qmk>> | ||
| 2528 | #+END_SRC | ||
| 2529 | |||
| 2530 | |||
| 2531 | ** Customisation | ||
| 2532 | |||
| 2533 | To add customisations to a keyboard or layout while importing the miryoku | ||
| 2534 | keymap, copy ~config.h~ and ~keymap.c~ from the keyboard or layout's | ||
| 2535 | ~manna-harbour_miryoku/~ directory to a new directory, and create ~rules.mk~ | ||
| 2536 | containing ~USER_NAME := manna-harbour_miryoku~. The miryoku keymap will be | ||
| 2537 | imported and customisations can be added to those files as usual. Keycodes can | ||
| 2538 | be added to unused keys by editing ~LAYOUT_miryoku~ in ~config.h~. | ||
| 2539 | |||
| 2540 | For an unsupported keyboard or layout, do as above with a similar keyboard or | ||
| 2541 | layout and modify ~LAYOUT_miryoku~ in ~config.h~ referring to the keyboard or | ||
| 2542 | layout's ~LAYOUT~ macro. | ||
| 2543 | |||
| 2544 | |||
| 2545 | *** Examples | ||
| 2546 | |||
| 2547 | To use any of the examples, create a new branch from the miryoku development | ||
| 2548 | branch and follow the same steps as seen in the commit messages and code changes | ||
| 2549 | in the examples, making the appropriate changes for your keyboard and desired | ||
| 2550 | customisations. | ||
| 2551 | |||
| 2552 | |||
| 2553 | **** Add Layers | ||
| 2554 | |||
| 2555 | - https://github.com/manna-harbour/qmk_firmware/commits/miryoku-examples-add-layers/keyboards/crkbd/keymaps/miryoku-examples-add-layers | ||
| 2556 | |||
| 2557 | |||
| 2558 | * Experimental Features | ||
| 2559 | |||
| 2560 | |||
| 2561 | ** Bilateral Combinations | ||
| 2562 | |||
| 2563 | - [[https://github.com/manna-harbour/qmk_firmware/issues/29][Bilateral Combinations]] | ||
| 2564 | |||
| 2565 | |||
| 2566 | ** Retro Shift | ||
| 2567 | |||
| 2568 | - [[https://github.com/manna-harbour/qmk_firmware/issues/33][Retro Shift]] | ||
| 2569 | |||
| 2570 | |||
| 2571 | * Documentation :noexport_1: | ||
| 2572 | |||
| 830 | 2573 | ||
| 831 | ** QMK | 2574 | ** QMK |
| 832 | 2575 | ||
| 833 | - https://qmk.fm/ | 2576 | - https://docs.qmk.fm/ |
| 834 | - https://docs.qmk.fm/#/getting_started_introduction | ||
| 835 | - https://docs.qmk.fm/#/config_options | 2577 | - https://docs.qmk.fm/#/config_options |
| 836 | - https://docs.qmk.fm/#/keycodes | ||
| 837 | - https://docs.qmk.fm/#/feature_advanced_keycodes | 2578 | - https://docs.qmk.fm/#/feature_advanced_keycodes |
| 2579 | - https://docs.qmk.fm/#/feature_auto_shift | ||
| 838 | - https://docs.qmk.fm/#/feature_layers | 2580 | - https://docs.qmk.fm/#/feature_layers |
| 839 | - https://docs.qmk.fm/#/mod_tap | ||
| 840 | - https://docs.qmk.fm/#/feature_layouts | 2581 | - https://docs.qmk.fm/#/feature_layouts |
| 841 | - https://docs.qmk.fm/#/feature_userspace | ||
| 842 | - https://docs.qmk.fm/#/feature_mouse_keys | 2582 | - https://docs.qmk.fm/#/feature_mouse_keys |
| 2583 | - https://docs.qmk.fm/#/feature_userspace | ||
| 2584 | - https://docs.qmk.fm/#/getting_started_introduction | ||
| 843 | - https://docs.qmk.fm/#/getting_started_make_guide | 2585 | - https://docs.qmk.fm/#/getting_started_make_guide |
| 2586 | - https://docs.qmk.fm/#/keycodes | ||
| 2587 | - https://docs.qmk.fm/#/mod_tap | ||
| 2588 | - https://docs.qmk.fm/#/tap_hold | ||
| 844 | 2589 | ||
| 845 | 2590 | ||
| 846 | ** Org Mode | 2591 | ** Org Mode |
| @@ -852,9 +2597,9 @@ Required by the build system. | |||
| 852 | 2597 | ||
| 853 | * Contact | 2598 | * Contact |
| 854 | 2599 | ||
| 855 | For issues with this branch, or to request support for additional base layer | 2600 | For feature requests or issues with code or documentation please |
| 856 | alphas, layouts, or keyboards, please [[https://github.com/manna-harbour/qmk_firmware/issues/new][open an issue]]. | 2601 | [[https://github.com/manna-harbour/qmk_firmware/issues/new][open an issue]]. |
| 857 | 2602 | ||
| 858 | For more general discussion, please join a relevant [[https://www.reddit.com/user/manna_harbour/posts/?sort=new][recent thread]] or [[https://www.reddit.com/message/compose/?to=manna_harbour][send a PM]]. | 2603 | For more general discussion please [[https://github.com/manna-harbour/manna-harbour/tree/main/contact][contact Manna Harbour]]. |
| 859 | 2604 | ||
| 860 | [[https://github.com/manna-harbour][https://raw.githubusercontent.com/manna-harbour/miryoku/master/manna-harbour-boa-32.png]] | 2605 | [[https://github.com/manna-harbour][https://raw.githubusercontent.com/manna-harbour/miryoku/master/data/logos/manna-harbour-boa-32.png]] |
diff --git a/users/manna-harbour_miryoku/rules.mk b/users/manna-harbour_miryoku/rules.mk index ca135af07..809e63035 100644 --- a/users/manna-harbour_miryoku/rules.mk +++ b/users/manna-harbour_miryoku/rules.mk | |||
| @@ -1,16 +1,36 @@ | |||
| 1 | # Copyright 2019 Manna Harbour | ||
| 2 | # https://github.com/manna-harbour/miryoku | ||
| 1 | # generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 3 | # generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 2 | 4 | ||
| 3 | MOUSEKEY_ENABLE = yes # Mouse keys | 5 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 4 | EXTRAKEY_ENABLE = yes # Audio control and System control | 6 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 7 | AUTO_SHIFT_ENABLE = yes # Auto Shift | ||
| 5 | 8 | ||
| 6 | SRC += manna-harbour_miryoku.c # keymap | 9 | SRC += manna-harbour_miryoku.c # keymap |
| 7 | 10 | ||
| 8 | # select alternative base layer alphas | 11 | # alternative layouts: |
| 12 | |||
| 13 | # alphas | ||
| 9 | ifneq ($(strip $(MIRYOKU_ALPHAS)),) | 14 | ifneq ($(strip $(MIRYOKU_ALPHAS)),) |
| 10 | OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS) | 15 | OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS) |
| 11 | endif | 16 | endif |
| 12 | 17 | ||
| 13 | # select alternative subset mappings | 18 | # nav |
| 19 | ifneq ($(strip $(MIRYOKU_NAV)),) | ||
| 20 | OPT_DEFS += -DMIRYOKU_NAV_$(MIRYOKU_NAV) | ||
| 21 | endif | ||
| 22 | |||
| 23 | # clipboard | ||
| 24 | ifneq ($(strip $(MIRYOKU_CLIPBOARD)),) | ||
| 25 | OPT_DEFS += -DMIRYOKU_CLIPBOARD_$(MIRYOKU_CLIPBOARD) | ||
| 26 | endif | ||
| 27 | |||
| 28 | # layers | ||
| 29 | ifneq ($(strip $(MIRYOKU_LAYERS)),) | ||
| 30 | OPT_DEFS += -DMIRYOKU_LAYERS_$(MIRYOKU_LAYERS) | ||
| 31 | endif | ||
| 32 | |||
| 33 | # subset mappings | ||
| 14 | ifneq ($(strip $(MIRYOKU_MAPPING)),) | 34 | ifneq ($(strip $(MIRYOKU_MAPPING)),) |
| 15 | OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING) | 35 | OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING) |
| 16 | endif | 36 | endif |
