aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManna Harbour <51143715+manna-harbour@users.noreply.github.com>2019-11-21 12:25:55 +1100
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2019-11-20 17:25:55 -0800
commitecc73553214e40293361af2570eddc5122bef255 (patch)
treed3cde9f211a8e1fa26c2ce4ab455b62a8cd324a0
parentbaf6715a7ebfb382031a641f58ebf85c99445605 (diff)
downloadqmk_firmware-ecc73553214e40293361af2570eddc5122bef255.tar.gz
qmk_firmware-ecc73553214e40293361af2570eddc5122bef255.zip
[Keymap] Add ALGR and kle image, expand and correct documentation (#7426)
-rw-r--r--users/manna-harbour_miryoku/manna-harbour_miryoku.c14
-rw-r--r--users/manna-harbour_miryoku/miryoku.org28
2 files changed, 27 insertions, 15 deletions
diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.c b/users/manna-harbour_miryoku/manna-harbour_miryoku.c
index bb4770afc..a50677008 100644
--- a/users/manna-harbour_miryoku/manna-harbour_miryoku.c
+++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.c
@@ -14,43 +14,43 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14 [BASE] = LAYOUT_miryoku( 14 [BASE] = LAYOUT_miryoku(
15 KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, 15 KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT,
16 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), 16 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),
17 KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, 17 KC_Z, ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), KC_SLSH,
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 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
19 ), 19 ),
20 [NAVR] = LAYOUT_miryoku( 20 [NAVR] = LAYOUT_miryoku(
21 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_AGIN, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE, 21 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_AGIN, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE,
22 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, 22 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT,
23 KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, 23 KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END,
24 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_ENT, KC_BSPC, KC_DEL, KC_NP, KC_NP 24 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_ENT, KC_BSPC, KC_DEL, KC_NP, KC_NP
25 ), 25 ),
26 [MOUR] = LAYOUT_miryoku( 26 [MOUR] = LAYOUT_miryoku(
27 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU, 27 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU,
28 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, 28 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R,
29 KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, 29 KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_NU, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R,
30 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_BTN3, KC_BTN1, KC_BTN2, KC_NP, KC_NP 30 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_BTN3, KC_BTN1, KC_BTN2, KC_NP, KC_NP
31 ), 31 ),
32 [MEDR] = LAYOUT_miryoku( 32 [MEDR] = LAYOUT_miryoku(
33 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU, 33 KC_RST, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU,
34 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, 34 KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NA, KC_NU, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT,
35 KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU, 35 KC_NA, KC_ALGR, KC_NA, KC_NA, KC_NA, KC_NU, KC_NU, KC_NU, KC_NU, KC_NU,
36 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_MSTP, KC_MPLY, KC_MUTE, KC_NP, KC_NP 36 KC_NP, KC_NP, KC_NA, KC_NA, KC_NA, KC_MSTP, KC_MPLY, KC_MUTE, KC_NP, KC_NP
37 ), 37 ),
38 [FUNL] = LAYOUT_miryoku( 38 [FUNL] = LAYOUT_miryoku(
39 KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, 39 KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST,
40 KC_F11, KC_F4, KC_F5, KC_F6, KC_SLCK, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, 40 KC_F11, KC_F4, KC_F5, KC_F6, KC_SLCK, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI,
41 KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, 41 KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA,
42 KC_NP, KC_NP, KC_APP, KC_SPC, KC_TAB, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP 42 KC_NP, KC_NP, KC_APP, KC_SPC, KC_TAB, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP
43 ), 43 ),
44 [NSL] = LAYOUT_miryoku( 44 [NSL] = LAYOUT_miryoku(
45 KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, 45 KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST,
46 KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, 46 KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI,
47 KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, 47 KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA,
48 KC_NP, KC_NP, KC_DOT, KC_0, KC_MINS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP 48 KC_NP, KC_NP, KC_DOT, KC_0, KC_MINS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP
49 ), 49 ),
50 [NSSL] = LAYOUT_miryoku( 50 [NSSL] = LAYOUT_miryoku(
51 KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST, 51 KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NA, KC_NA, KC_NA, KC_NA, KC_RST,
52 KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, 52 KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI,
53 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NA, KC_NA, KC_NA, KC_NA, KC_NA, 53 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NA, KC_NA, KC_NA, KC_ALGR, KC_NA,
54 KC_NP, KC_NP, KC_GT, KC_RPRN, KC_UNDS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP 54 KC_NP, KC_NP, KC_GT, KC_RPRN, KC_UNDS, KC_NA, KC_NA, KC_NA, KC_NP, KC_NP
55 ) 55 )
56}; 56};
diff --git a/users/manna-harbour_miryoku/miryoku.org b/users/manna-harbour_miryoku/miryoku.org
index 556f95f60..c352df8fd 100644
--- a/users/manna-harbour_miryoku/miryoku.org
+++ b/users/manna-harbour_miryoku/miryoku.org
@@ -1,18 +1,23 @@
1#+Title: miryoku.org 1#+Title: miryoku.org
2 2
3[[https://raw.githubusercontent.com/manna-harbour/miryoku/master/kle-miryoku-keycodes.png]]
4
3The miryoku layout is an ergonomic, minimal, orthogonal layout for ergo or ortho 5The miryoku layout is an ergonomic, minimal, orthogonal layout for ergo or ortho
4keyboards, implemented as part of the QMK firmware. The layout is maintained in 6keyboards, implemented as part of the QMK firmware. The layout is maintained in
5emacs org-mode tables and converted to QMK keymap data structures using embedded 7emacs org-mode tables and converted to QMK keymap data structures using embedded
6python scripts. The layout is mapped onto keyboards with different physical 8python scripts. The layout is mapped onto keyboards with different physical
7layouts as a subset without code duplication using the QMK userland feature and 9layouts as a subset without code duplication using the QMK userspace feature and
8C macros. Versions of the layout can also be seen outside of the QMK source at 10C macros. Versions of the layout can also be seen outside of the QMK source at
9[[https://github.com/manna-harbour/miryoku/]]. 11[[https://github.com/manna-harbour/miryoku/]].
10 12
13After making changes here call org-babel-tangle (C-c C-v t).
14
11* Contents 15* Contents
12 16
13- [[#layout][Layout]] 17- [[#layout][Layout]]
14- [[#code-generation][Code Generation]] 18- [[#code-generation][Code Generation]]
15- [[#subset-mapping][Subset Mapping]] 19- [[#subset-mapping][Subset Mapping]]
20- [[#related-documentation][Related Documentation]]
16 21
17 22
18* Layout 23* Layout
@@ -45,6 +50,7 @@ C macros. Versions of the layout can also be seen outside of the QMK source at
45 - Dual-function layer change on thumbs. 50 - Dual-function layer change on thumbs.
46 - Layers are designed orthogonally with a single purpose per hand and are 51 - Layers are designed orthogonally with a single purpose per hand and are
47 accessed by holding a thumb key on the opposite hand. 52 accessed by holding a thumb key on the opposite hand.
53 - All layers on the same hand are based on the same basic key arrangement.
48 - Holding layer change and modifiers on one hand combined with a single key 54 - Holding layer change and modifiers on one hand combined with a single key
49 press on the other hand can produce any combination of modifiers and 55 press on the other hand can produce any combination of modifiers and
50 single keys without any finger contortions. 56 single keys without any finger contortions.
@@ -53,9 +59,10 @@ C macros. Versions of the layout can also be seen outside of the QMK source at
53 or simultaneously without race conditions. 59 or simultaneously without race conditions.
54 - As mods are only enabled on the opposite hand, auto-repeat is available on 60 - As mods are only enabled on the opposite hand, auto-repeat is available on
55 the home row on layers for use with cursor and mouse keys. 61 the home row on layers for use with cursor and mouse keys.
56 - Tap-hold auto-repeat is disabled to enable faster tap-hold switching on 62 - Tap-hold auto-repeat is disabled to permit faster tap-hold switching on
57 thumbs but thumb tap keys are mirrored onto some layers for use with 63 thumbs, but thumb tap keys are mirrored onto some layers for use with
58 auto-repeat. 64 auto-repeat. On other layers thumb keys are redefined with important
65 functions for that layer.
59 66
60 67
61** Layers 68** Layers
@@ -92,7 +99,7 @@ included for prose, dot and slash for file and directory names.
92#+NAME: hold 99#+NAME: hold
93| RST | | | | | | | | | RST | 100| RST | | | | | | | | | RST |
94| LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI | 101| LGUI | LALT | LCTL | LSFT | | | LSFT | LCTL | LALT | LGUI |
95| | | | | | | | | | | 102| | ALGR | | | | | | | ALGR | |
96| NP | NP | MEDR | NAVR | MOUR | NSSL | NSL | FUNL | NP | NP | 103| NP | NP | MEDR | NAVR | MOUR | NSSL | NSL | FUNL | NP | NP |
97 104
98 105
@@ -365,7 +372,7 @@ Modifiers usable in hold table. Need to have the same name for KC_ and _T versi
365- LCTL 372- LCTL
366- LALT 373- LALT
367- LGUI 374- LGUI
368- LAGR 375- ALGR
369 376
370 377
371** Other 378** Other
@@ -512,8 +519,9 @@ cd ../.. && make ergodox_ez:manna-harbour_miryoku:teensy
512 519
513For the ortho_4x12 layout, the right half as is as follows: The rightmost column 520For the ortho_4x12 layout, the right half as is as follows: The rightmost column
514bottom 3 rows is the pinkie column. The middle 4 columns top 3 rows are for the 521bottom 3 rows is the pinkie column. The middle 4 columns top 3 rows are for the
515remaining fingers. The bottom row left 3 columns are the thumb keys. The 522remaining fingers. The pinkie column is one row lower than the other columns to
516remaining keys are unused. 523provide some column stagger on ortho keyboards. The bottom row left 3 columns
524are the thumb keys. The remaining keys are unused.
517 525
518[[../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c][layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c]] 526[[../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c][layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c]]
519#+BEGIN_SRC C :noweb yes :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c 527#+BEGIN_SRC C :noweb yes :tangle ../../layouts/community/ortho_4x12/manna-harbour_miryoku/keymap.c
@@ -588,6 +596,10 @@ cd ../.. && make crkbd:manna-harbour_miryoku:avrdude
588 596
589 597
590* Related Documentation 598* Related Documentation
599:PROPERTIES:
600:CUSTOM_ID: related-documentation
601:END:
602
591 603
592** QMK 604** QMK
593 605