From 03d4d9e890b354547a7172b6479eaf6160a217d8 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sun, 15 Aug 2021 13:14:16 +0200
Subject: [PATCH 01/10] Refactor Kyria's default keymap.c for easier reading
---
.../splitkb/kyria/keymaps/default/keymap.c | 296 ++++++++++--------
1 file changed, 170 insertions(+), 126 deletions(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/keymap.c b/keyboards/splitkb/kyria/keymaps/default/keymap.c
index db545c6a2142..6d236369371d 100644
--- a/keyboards/splitkb/kyria/keymaps/default/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/default/keymap.c
@@ -15,7 +15,16 @@
*/
#include QMK_KEYBOARD_H
-enum layers { _QWERTY = 0, _DVORAK, _COLEMAK_DH, _NAV, _SYM, _FUNCTION, _ADJUST };
+enum layers {
+ _QWERTY = 0,
+ _DVORAK,
+ _COLEMAK_DH,
+ _NAV,
+ _SYM,
+ _FUNCTION,
+ _ADJUST
+};
+
// Aliases for readability
#define QWERTY DF(_QWERTY)
@@ -37,136 +46,171 @@ enum layers { _QWERTY = 0, _DVORAK, _COLEMAK_DH, _NAV, _SYM, _FUNCTION, _ADJUST
// produces the key `tap` when tapped (i.e. pressed and released).
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- /*
- * Base Layer: QWERTY
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * |Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : |Ctrl/' "|
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
- * | | | Enter| | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_QWERTY] = LAYOUT(KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, CTL_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTL_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_CAPS, FKEYS, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ADJUST, KC_LGUI, ALT_ENT, KC_SPC, NAV, SYM, KC_SPC, KC_RALT, KC_RGUI, KC_APP),
+/*
+ * Base Layer: QWERTY
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * |Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : |Ctrl/' "|
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ * | | | Enter| | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_QWERTY] = LAYOUT(
+ KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y, KC_U , KC_I , KC_O , KC_P , KC_BSPC,
+ CTL_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H, KC_J , KC_K , KC_L ,KC_SCLN,CTL_QUOT,
+ KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_N, KC_M ,KC_COMM, KC_DOT ,KC_SLSH, KC_RSFT,
+ ADJUST , KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP
+ ),
- /*
- * Base Layer: Dvorak
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | Tab | ' " | , < | . > | P | Y | | F | G | C | R | L | Bksp |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * |Ctrl/Esc| A | O | E | U | I | | D | H | T | N | S |Ctrl/- _|
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | LShift | ; : | Q | J | K | X | [ { |CapsLk| |F-keys| ] } | B | M | W | V | Z | RShift |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
- * | | | Enter| | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_DVORAK] = LAYOUT(KC_TAB, KC_QUOTE, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, CTL_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, CTL_MINS, KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_LBRC, KC_CAPS, FKEYS, KC_RBRC, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, ADJUST, KC_LGUI, ALT_ENT, KC_SPC, NAV, SYM, KC_SPC, KC_RALT, KC_RGUI, KC_APP),
+/*
+ * Base Layer: Dvorak
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | Tab | ' " | , < | . > | P | Y | | F | G | C | R | L | Bksp |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * |Ctrl/Esc| A | O | E | U | I | | D | H | T | N | S |Ctrl/- _|
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | LShift | ; : | Q | J | K | X | [ { |CapsLk| |F-keys| ] } | B | M | W | V | Z | RShift |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ * | | | Enter| | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_DVORAK] = LAYOUT(
+ KC_TAB ,KC_QUOTE,KC_COMM, KC_DOT, KC_P , KC_Y , KC_F, KC_G , KC_C , KC_R , KC_L , KC_BSPC,
+ CTL_ESC , KC_A , KC_O , KC_E , KC_U , KC_I , KC_D, KC_H , KC_T , KC_N , KC_S , CTL_MINS,
+ KC_LSFT ,KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_B, KC_M , KC_W , KC_V , KC_Z , KC_RSFT,
+ ADJUST, KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP
+ ),
- /*
- * Base Layer: Colemak DH
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | Tab | Q | W | F | P | B | | J | L | U | Y | ; : | Bksp |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * |Ctrl/Esc| A | R | S | T | G | | M | N | E | I | O |Ctrl/' "|
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | LShift | Z | X | C | D | V | [ { |CapsLk| |F-keys| ] } | K | H | , < | . > | / ? | RShift |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
- * | | | Enter| | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_COLEMAK_DH] = LAYOUT(KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, CTL_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, CTL_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_LBRC, KC_CAPS, FKEYS, KC_RBRC, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, ADJUST, KC_LGUI, ALT_ENT, KC_SPC, NAV, SYM, KC_SPC, KC_RALT, KC_RGUI, KC_APP),
+/*
+ * Base Layer: Colemak DH
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | Tab | Q | W | F | P | B | | J | L | U | Y | ; : | Bksp |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * |Ctrl/Esc| A | R | S | T | G | | M | N | E | I | O |Ctrl/' "|
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | LShift | Z | X | C | D | V | [ { |CapsLk| |F-keys| ] } | K | H | , < | . > | / ? | RShift |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ * | | | Enter| | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_COLEMAK_DH] = LAYOUT(
+ KC_TAB , KC_Q , KC_W , KC_F , KC_P , KC_B , KC_J, KC_L , KC_U , KC_Y ,KC_SCLN, KC_BSPC,
+ CTL_ESC , KC_A , KC_R , KC_S , KC_T , KC_G , KC_M, KC_N , KC_E , KC_I , KC_O , CTL_QUOT,
+ KC_LSFT , KC_Z , KC_X , KC_C , KC_D , KC_V , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_K, KC_H ,KC_COMM, KC_DOT ,KC_SLSH, KC_RSFT,
+ ADJUST, KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP
+ ),
- /*
- * Nav Layer: Media, navigation
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | | | | | | | | PgUp | Home | ↑ | End | VolUp| Delete |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | | GUI | Alt | Ctrl | Shift| | | PgDn | ← | ↓ | → | VolDn| Insert |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | | | | | | |ScLck | | | | Pause|M Prev|M Play|M Next|VolMut| PrtSc |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_NAV] = LAYOUT(_______, _______, _______, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU, KC_DEL, _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_INS, _______, _______, _______, _______, _______, _______, _______, KC_SLCK, _______, _______, KC_PAUSE, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
+/*
+ * Nav Layer: Media, navigation
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | | | | | | | | PgUp | Home | ↑ | End | VolUp| Delete |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * | | GUI | Alt | Ctrl | Shift| | | PgDn | ← | ↓ | → | VolDn| Insert |
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | | | | | | | |ScLck | | | | Pause|M Prev|M Play|M Next|VolMut| PrtSc |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_NAV] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU, KC_DEL,
+ _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_INS,
+ _______, _______, _______, _______, _______, _______, _______, KC_SLCK, _______, _______,KC_PAUSE, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_PSCR,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
- /*
- * Sym Layer: Numbers and symbols
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
- * |--------+------+------+------+------+------+-------------. ,------+-------------+------+------+------+------+--------|
- * | | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_SYM] = LAYOUT(KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS, KC_PIPE, KC_BSLS, KC_COLN, KC_SCLN, KC_MINS, KC_NUBS, KC_LBRC, _______, _______, KC_RBRC, KC_NUHS, KC_UNDS, KC_COMM, KC_DOT, KC_SLSH, KC_QUES, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
+/*
+ * Sym Layer: Numbers and symbols
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
+ * |--------+------+------+------+------+------+-------------. ,------+-------------+------+------+------+------+--------|
+ * | | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_SYM] = LAYOUT(
+ KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_EQL ,
+ KC_TILD , KC_EXLM, KC_AT , KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS,
+ KC_PIPE , KC_BSLS, KC_COLN, KC_SCLN, KC_MINS, KC_NUBS, KC_LBRC, _______, _______, KC_RBRC, KC_NUHS, KC_UNDS, KC_COMM, KC_DOT, KC_SLSH, KC_QUES,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
- /*
- * Function Layer: Function keys
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | | F9 | F10 | F11 | F12 | | | | | | | | |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | | F5 | F6 | F7 | F8 | | | | Shift| Ctrl | Alt | GUI | |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | F1 | F2 | F3 | F4 | | | | | | | | | | | | |
- * `--------+------+------+--------------------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_FUNCTION] = LAYOUT(_______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
+/*
+ * Function Layer: Function keys
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | | F9 | F10 | F11 | F12 | | | | | | | | |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * | | F5 | F6 | F7 | F8 | | | | Shift| Ctrl | Alt | GUI | |
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | | F1 | F2 | F3 | F4 | | | | | | | | | | | | |
+ * `--------+------+------+--------------------+------+------| |------+------+------+------+------+----------------------'
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_FUNCTION] = LAYOUT(
+ _______, KC_F9 , KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_F5 , KC_F6 , KC_F7 , KC_F8 , _______, _______, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, _______,
+ _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
- /*
- * Adjust Layer: Default layer settings, RGB
- *
- * ,-------------------------------------------. ,-------------------------------------------.
- * | | | |QWERTY| | | | | | | | | |
- * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- * | | | |Dvorak| | | | TOG | SAI | HUI | VAI | MOD | |
- * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | | |Colmak| | | | | | | | | SAD | HUD | VAD | RMOD | |
- * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- * | | | | | | | | | | | |
- * | | | | | | | | | | | |
- * `----------------------------------' `----------------------------------'
- */
- [_ADJUST] = LAYOUT(_______, _______, _______, QWERTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DVORAK, _______, _______, RGB_TOG, RGB_SAI, RGB_HUI, RGB_VAI, RGB_MOD, _______, _______, _______, _______, COLEMAK, _______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_HUD, RGB_VAD, RGB_RMOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
+/*
+ * Adjust Layer: Default layer settings, RGB
+ *
+ * ,-------------------------------------------. ,-------------------------------------------.
+ * | | | |QWERTY| | | | | | | | | |
+ * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+ * | | | |Dvorak| | | | TOG | SAI | HUI | VAI | MOD | |
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+ * | | | |Colmak| | | | | | | | | SAD | HUD | VAD | RMOD | |
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * `----------------------------------' `----------------------------------'
+ */
+ [_ADJUST] = LAYOUT(
+ _______, _______, _______, QWERTY , _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, DVORAK , _______, _______, RGB_TOG, RGB_SAI, RGB_HUI, RGB_VAI, RGB_MOD, _______,
+ _______, _______, _______, COLEMAK, _______, _______,_______, _______, _______, _______, _______, RGB_SAD, RGB_HUD, RGB_VAD, RGB_RMOD, _______,
+ _______, _______, _______,_______, _______, _______, _______, _______, _______, _______
+ ),
- // /*
- // * Layer template
- // *
- // * ,-------------------------------------------. ,-------------------------------------------.
- // * | | | | | | | | | | | | | |
- // * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
- // * | | | | | | | | | | | | | |
- // * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- // * | | | | | | | | | | | | | | | | | |
- // * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
- // * | | | | | | | | | | | |
- // * | | | | | | | | | | | |
- // * `----------------------------------' `----------------------------------'
- // */
- // [_LAYERINDEX] = LAYOUT(
- // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- // ),
+// /*
+// * Layer template
+// *
+// * ,-------------------------------------------. ,-------------------------------------------.
+// * | | | | | | | | | | | | | |
+// * |--------+------+------+------+------+------| |------+------+------+------+------+--------|
+// * | | | | | | | | | | | | | |
+// * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+// * | | | | | | | | | | | | | | | | | |
+// * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+// * | | | | | | | | | | | |
+// * | | | | | | | | | | | |
+// * `----------------------------------' `----------------------------------'
+// */
+// [_LAYERINDEX] = LAYOUT(
+// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+// ),
};
From bdfc43a58c51c30c2ce1b4a12a3f3ea8116416e5 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sun, 15 Aug 2021 17:38:31 +0200
Subject: [PATCH 02/10] Add README to the default kyria keymap
---
.../splitkb/kyria/keymaps/default/readme.md | 258 ++++++++++++++++++
1 file changed, 258 insertions(+)
create mode 100644 keyboards/splitkb/kyria/keymaps/default/readme.md
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
new file mode 100644
index 000000000000..8f05bf561fe7
--- /dev/null
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -0,0 +1,258 @@
+
Kyria's Default Keymap
+
+
+
+
+
+
+
+Keyboard Layout Editor link
+
+
+
+The default keymap contains 5 layers which allows it to include all keys found on a ISO layout TKL keyboard plus media keys.
+Hardware features of the Kyria such as OLEDs, rotary encoders and underglow are also supported.
+
+The five different layers are the following:
+1. Base layer (QWERTY, Colemak-DH or Dvorak)
+2. Navigation layer
+3. Symbols/Numbers layer
+4. Function layer
+5. Adjust layer
+
+## Base layer(s)
+```
+Base Layer: -
+
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | - | - | - | - | - | | - | - | - | - | - | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+|Ctrl/Esc| - | - | - | - | - | | - | - | - | - | - |Ctrl/ - |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | - | - | - | - | - | [ { |CapsLk| |F-Keys| ] } | - | - | - | - | - | RShift |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ | | | Enter| | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+Three different well-known keyboard layouts are provided to fill in the placeholder `-` keys: QWERTY, Colemak-DH, and Dvorak. The default layer can be changed at runtime, more info on that in the section on the [adjust layer](#adjust-layer).
+
+For the rest of this write-up, the base layer will be assumed to be QWERTY and will be used as a reference to describe physical keys, e.g. “B key” vs, the much more verbose, “lower inner index key”.
+
+```
+Base Layer: QWERTY
+
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+|Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : |Ctrl/' "|
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ | | | Enter| | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+
+Aside from variations in the alpha cluster, the rest of the base keys remain the same and are designed to feel familiar.
+
+![Step-by-step animation of the transformation of an ortholinear TKL to a Kyria](https://i.imgur.com/uVDCOek.gif)
+
+
+After making transformations to the classic ANSI US QWERTY TKL 60% to arrive to the layout of the Kyria, as illustrated in the animation above, the result looks like this:
+
+```
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+| Cap Lk | A | S | D | F | G | | H | J | K | L | ; : | ' " |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | Z | X | C | V | B | | | | | | N | M | , < | . > | / ? | RShift |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ | LCtrl| LGUI | LAlt | Space| | | | Space| AltGr| RGUI | Menu |
+ | | | | | | | | | | | |
+ `----------------------------------' '----------------------------------'
+```
+
+First thing to notice is the presence of blank keys. To fill in the blank keys above the Space keys, we can take inspiration from other split keyboards featuring an extra inner index column on each half. A common mapping for those kind of keys are the bracket keys that got removed in the fourth step of the animated transformation. The thumb keys besides Spaces is prime real estate for dedicated layer-switching keys. It doesn't matter on which side is assigned the sym-layer-switch key but it helps to keep the nav-layer-switch on the left in order to keep the arrow keys on the right side like on a classic keyboard, so we'll put nav on the left and sym on the right. We'll address the remaining blank thumb keys later.
+
+The base layer is starting to form but there remains some flaws. One glaring issue is the position of Control. Control is a very commonly used function but the key on which it sits right now is way too tucked in under the hand to be able to press it comfortably with either the thumb or the pinky from resting position. In fact, installing a rotary encoder there is a common move among Kyria users and I guarantee you that activating Control by holding down a rotary encoder does not spark joy. Instead, let's employ a popular trick that involves remapping the current Caps Lock key, which is positioned at a comfortable position on the keyboard, to Control.
+
+We can go further though; a variant of this trick makes the Control key produce Escape when tapped. This is called a “modtap”. There is no use to tapping Control by itself without chording it with another key and there is no use to holding down the Esc key so why not combine the two into a single key?
+
+All of this leaves us with three blank keys.
+
+```
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+|Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : | ' " |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | Z | X | C | V | B | [ { | | | | ] } | N | M | , < | . > | / ? | RShift |
+`--------+-------------+--------------------+------+------| |------+------+--------------------+------+---------------'
+ | | LGUI | LAlt | Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ | | | | | | | | | | | |
+ `----------------------------------' '----------------------------------'
+```
+
+These keys are not easily reachable while touch typing (that is, not reachable without picking up your hand) and should thus be associated with functions that you are not likely to be typed within a stream of text. The idea is that if you have to pick up your hand to hit a key, you want it to be at a time when you are likely to be pausing your interaction with the machine, rather than in the midst of a flurry of typing. They're thus well suited for accessing the adjust layer and the function layer. We can also toss in Caps Lock even though it is an editing-type function that gets used within a stream of text because shouting in ALL-CAPS should be a deliberate action.
+
+```
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+|Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : | ' " |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ |Adjust| LGUI | LAlt | Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ | | | | | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+
+The next glaring issue is the absence of an Enter key on the current base layer this far. Enter is a very frequently used key so it deserves to be placed at a good spot in the keymap. The best way to insert it in the keymap with minimal changes to the current layout is to use modtaps. A tempting solution is to turn the RShift key into a RShift/Enter modtap but that can result in chat messages sent too frustratingly early when you're not used to it. Using GUI is also sub-optimal because tapping the GUI modifier actually has a use as opposed to taps of the Control or the Shift key. Pressing and releasing the GUI key by itself opens the App menu in many desktop environments. The natural choice is thus LAlt/Enter. That way, Enter is 1u away from resting thumb position and is unlikely to get accidentally activated because Alt is very rarely used in the midst of prose.
+
+Finally, we're one Quality-Of-Life update away from the actual base layer. Ctrl/' " not only preserves symmetry in the keymap with Ctrl/Esc but also helps balance the load between your pinkies and invites you to use both hands instead of contortions. Perhaps more importantly, it also frees you from the necessity of picking up your hand, breaking touch typing position and pressing a pinky key with your ring finger in order to execute Ctrl+A or Ctrl+Z. That becomes even more important on a board with such an aggressive pinky columnar stagger like the Kyria.
+
+
+```
+,-------------------------------------------. ,-------------------------------------------.
+| Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+|Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : |Ctrl/' "|
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu |
+ | | | Enter| | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+
+
+
+## Navigation layer
+
+```
+Nav Layer: Media, navigation
+
+,-------------------------------------------. ,-------------------------------------------.
+| | | | | | | | PgUp | Home | ↑ | End | VolUp| Delete |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+| | GUI | Alt | Ctrl | Shift| | | PgDn | ← | ↓ | → | VolDn| Insert |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| | | | | | | |ScLck | | | | Pause|M Prev|M Play|M Next|VolMut| PrtSc |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ | | | | | | | | | | | |
+ | | | | | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+
+This is where you'll find all the keys that are generally between the main block of a classic keyboard and the numpad in addition to media controls and modifiers on easy access on the home row for fast and comfortable chording with navigation keys.
+
+Useful mnemonics:
+- “GACS” to remember the order of the modifiers on the left-hand home row
+- Scroll Lock is on the same key as Caps Lock because they're both locks
+- Delete is on the same key as Backspace because they both erase characters
+- Home is the leftmost position on the current line so it is above ←. Same logic applies for End.
+- Media Previous = ⏮, Media Next = ⏭
+- Page Up, Page Down and Volume Up, Volume Down are positioned like the main Up and Down keys.
+
+## Sym layer
+```
+Sym Layer: Numbers, symbols
+
+,-------------------------------------------. ,-------------------------------------------.
+| ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+| ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ | | | | | | | | | | | |
+ | | | | | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+The top row is the unshifted num row, the home row of the layer is the shifted num row and the bottom row contains ISO keys (\ | and # ~, which are respectively `KC_NUBS` and `KC_NUHS`), the hyphen `-` and the underscore `_` on the best lower row spot because of how frequent they are and redundant symbols that are already present on the base layer but are reproduced here to avoid juggling back and forth between base, shift, and sym when typing a string of symbols.
+
+The layout of the first two rows needs no introduction, you're already used to them but it's worth looking into the structure of the bottom row.
+
+The two halves are mirrored in a sense. On the right, you can find , . / at their usual spots with the addition of Shift+/=? to the right of the / key to remove the need to press simultaneously Sym and a Shift key to access `?`.
+
+Now, if you look at the left side, you'll notice that the mirror of , is ;, the mirror of . is : and the mirror of / is \\. The same logic used for Shift+/=? also applies to Shift+\\=|.
+
+As for the ISO keys, they are positioned more or less like they would on a classic keyboard: `KC_NUBS` on the left and `KC_NUHS` on the right.
+
+In case you wish to combine Shift with a symbol key anyways, you can hold down Shift on the base layer with your pinky, activate Sym with your right thumb and while still holding down the Shift key, tap your desired symbol key. Same thing if you need Ctrl+Digit.
+
+## Function layer
+```
+Function Layer: Function keys
+
+,-------------------------------------------. ,-------------------------------------------.
+| | F9 | F10 | F11 | F12 | | | | | | | | |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+| | F5 | F6 | F7 | F8 | | | | Shift| Ctrl | Alt | GUI | |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| | F1 | F2 | F3 | F4 | | | | | | | | | | | | |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ | | | | | | | | | | | |
+ | | | | | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+In a similar fashion to the nav layer, pressing down `FKEYS` with the right thumb enables a numpad of function keys on the opposite hand and modifiers on the right-hand home row. Once again, mirror symmetry is leveraged in this keymap for the order of the right-hand modifiers.
+
+The Alt modifier, despite being situated on the right half of the keyboard is *not* `KC_RALT`, it is `KC_LALT`. `KC_RALT` is actually the AltGr key which generally acts very differently to the left Alt key. Keyboard shortcuts involving AltGr+F# are rare and infrequent as opposed to the much more common Alt+F# shortcuts. Consequently, `KC_LALT` was chosen for the function layer.
+
+Since there are more than 10 function keys, the cluster of F-keys does not follow the usual 3×3+1 numpad arrangement.
+
+
+## Adjust layer
+```
+Adjust Layer: Default layer settings, RGB
+
+,-------------------------------------------. ,-------------------------------------------.
+| | | |QWERTY| | | | | | | | | |
+|--------+------+------+------+------+------| |------+------+------+------+------+--------|
+| | | |Dvorak| | | | TOG | SAI | HUI | VAI | MOD | |
+|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
+| | | |Colmak| | | | | | | | | SAD | HUD | VAD | RMOD | |
+`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
+ | | | | | | | | | | | |
+ | | | | | | | | | | | |
+ `----------------------------------' `----------------------------------'
+```
+
+Default layer settings on the left and various RGB underglow controls on the right.
+
+The default layer settings are lined up on the middle finger column because the home middle finger key is D on QWERTY (like the “D” in “Dvorak”) and the lower middle finger key is C on QWERTY (like the “C” in “Colemak”). I can hear you say that “QWERTY” doesn't start with “E” but Dvorak and Colemak were already aligned in a column so the QWERTY may as well join the formation.
+
+NOTE: The default layer settings set by those keys are *NOT* stored in EEPROM and thus do not persist through boots. If you wish to change the default layer in a non-volatile manner, either change the order of the layers in the firmware, for example like so if you want to set Dvorak as the new default:
+```c
+enum layers {
+ _DVORAK = 0,
+ _QWERTY,
+ _COLEMAK_DH,
+ _NAV,
+ _SYM,
+ _FUNCTION,
+ _ADJUST
+};
+```
+or re-define the `QWERTY`, `COLEMAK` and `DVORAK` keys to point to custom keycodes starting on `SAFE_RANGE` and calling the `set_single_persistent_default_layer` function inside of `process_record_user`.
+
+## Hardware Features
+
+### Rotary Encoder
+The left rotary encoder is programmed to control the volume whereas the right encoder sends PgUp or PgDn on every turn.
+
+### OLEDs
+The OLEDs display the current layer at the top of the active layers stack, the Kyria logo and lock status (caps lock, num lock, scroll lock).
+
+### Underglow
+The underglow LEDs should be red.
+
+## Going further…
+
+This default keymap can be used as is, unchanged, as a daily driver for your Kyria but you're invited to treat your keymap like a bonsai. At the beginning, it's just like the default keymap but from time to time, you can tweak it a little. Cut a little key here, let another combo grow there. Slowly but surely it will be a unique keymap that will fit you like a glove.
+
+Check out the #keymap-ideas channel on the official SplitKB Discord server for inspiration.
From 62a374166ff344e48db8e1195e587b831ccca074 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sun, 15 Aug 2021 17:50:27 +0200
Subject: [PATCH 03/10] Correct some crosses in the ASCII art
---
keyboards/splitkb/kyria/keymaps/default/keymap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/keymap.c b/keyboards/splitkb/kyria/keymaps/default/keymap.c
index 6d236369371d..806acee5d76d 100644
--- a/keyboards/splitkb/kyria/keymaps/default/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/default/keymap.c
@@ -137,7 +137,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
* |--------+------+------+------+------+------| |------+------+------+------+------+--------|
* | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
- * |--------+------+------+------+------+------+-------------. ,------+-------------+------+------+------+------+--------|
+ * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
* | | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
* | | | | | | | | | | | |
@@ -160,7 +160,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | F5 | F6 | F7 | F8 | | | | Shift| Ctrl | Alt | GUI | |
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
* | | F1 | F2 | F3 | F4 | | | | | | | | | | | | |
- * `--------+------+------+--------------------+------+------| |------+------+------+------+------+----------------------'
+ * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
* | | | | | | | | | | | |
* | | | | | | | | | | | |
* `----------------------------------' `----------------------------------'
From 52a2980733cb0eddd6aae972544d9ad7a9318c7f Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Thu, 19 Aug 2021 21:09:48 +0200
Subject: [PATCH 04/10] Turn off the clang format for the default Kyria keymap
Co-authored-by: Drashna Jaelre
---
keyboards/splitkb/kyria/keymaps/default/keymap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/keyboards/splitkb/kyria/keymaps/default/keymap.c b/keyboards/splitkb/kyria/keymaps/default/keymap.c
index 806acee5d76d..a7ea41c37190 100644
--- a/keyboards/splitkb/kyria/keymaps/default/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/default/keymap.c
@@ -45,6 +45,7 @@ enum layers {
// The notation `mod/tap` denotes a key that activates the modifier `mod` when held down, and
// produces the key `tap` when tapped (i.e. pressed and released).
+// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* Base Layer: QWERTY
From eb1e1c8315acf64d80bb15ccd66ddde351270d7e Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Thu, 19 Aug 2021 21:10:08 +0200
Subject: [PATCH 05/10] Add a comma after the last layer in the enum to please
clang-format
Co-authored-by: Drashna Jaelre
---
keyboards/splitkb/kyria/keymaps/default/keymap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/keymap.c b/keyboards/splitkb/kyria/keymaps/default/keymap.c
index a7ea41c37190..70c91912f85b 100644
--- a/keyboards/splitkb/kyria/keymaps/default/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/default/keymap.c
@@ -22,7 +22,7 @@ enum layers {
_NAV,
_SYM,
_FUNCTION,
- _ADJUST
+ _ADJUST,
};
From 6c7a586b16d143df4d3b35327eecdad9d6a8400d Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Thu, 19 Aug 2021 21:13:48 +0200
Subject: [PATCH 06/10] Left align the main header of Kyria default readme
---
keyboards/splitkb/kyria/keymaps/default/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
index 8f05bf561fe7..97422b68a212 100644
--- a/keyboards/splitkb/kyria/keymaps/default/readme.md
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -1,4 +1,4 @@
- Kyria's Default Keymap
+# Kyria's Default Keymap
From 8cb7c2d9339fd1dc020dce7c0d659fefaad71bc8 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Thu, 19 Aug 2021 23:14:16 +0200
Subject: [PATCH 07/10] Remove ISO keys from Kyria default
---
keyboards/splitkb/kyria/keymaps/default/keymap.c | 4 ++--
keyboards/splitkb/kyria/keymaps/default/readme.md | 12 +++++-------
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/keymap.c b/keyboards/splitkb/kyria/keymaps/default/keymap.c
index 70c91912f85b..66c012d0cf04 100644
--- a/keyboards/splitkb/kyria/keymaps/default/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/default/keymap.c
@@ -139,7 +139,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |--------+------+------+------+------+------| |------+------+------+------+------+--------|
* | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
- * | | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
+ * | | | \ | : | ; | - | [ | { | | | | } | ] | _ | , | . | / | ? |
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
* | | | | | | | | | | | |
* | | | | | | | | | | | |
@@ -148,7 +148,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_SYM] = LAYOUT(
KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_EQL ,
KC_TILD , KC_EXLM, KC_AT , KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS,
- KC_PIPE , KC_BSLS, KC_COLN, KC_SCLN, KC_MINS, KC_NUBS, KC_LBRC, _______, _______, KC_RBRC, KC_NUHS, KC_UNDS, KC_COMM, KC_DOT, KC_SLSH, KC_QUES,
+ KC_PIPE , KC_BSLS, KC_COLN, KC_SCLN, KC_MINS, KC_LBRC, KC_LCBR, _______, _______, KC_RCBR, KC_RBRC, KC_UNDS, KC_COMM, KC_DOT, KC_SLSH, KC_QUES,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
index 97422b68a212..1c349b64ca26 100644
--- a/keyboards/splitkb/kyria/keymaps/default/readme.md
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -1,11 +1,11 @@
# Kyria's Default Keymap
-
-
+
+
-
+
Keyboard Layout Editor link
@@ -166,13 +166,13 @@ Sym Layer: Numbers, symbols
|--------+------+------+------+------+------| |------+------+------+------+------+--------|
| ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + |
|--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------|
-| | | \ | : | ; | - | \ | | [ { | | | | ] } | # ~ | _ | , | . | / | ? |
+| | | \ | : | ; | - | [ | { | | | | } | ] | _ | , | . | / | ? |
`----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------'
| | | | | | | | | | | |
| | | | | | | | | | | |
`----------------------------------' `----------------------------------'
```
-The top row is the unshifted num row, the home row of the layer is the shifted num row and the bottom row contains ISO keys (\ | and # ~, which are respectively `KC_NUBS` and `KC_NUHS`), the hyphen `-` and the underscore `_` on the best lower row spot because of how frequent they are and redundant symbols that are already present on the base layer but are reproduced here to avoid juggling back and forth between base, shift, and sym when typing a string of symbols.
+The top row is the unshifted num row, the home row of the layer is the shifted num row and the bottom row contains the hyphen `-` and the underscore `_` on the best lower row spot because of how frequent they are as well as redundant symbols that are already present on the base layer but are reproduced here to avoid juggling back and forth between base, shift, and sym when typing a string of symbols.
The layout of the first two rows needs no introduction, you're already used to them but it's worth looking into the structure of the bottom row.
@@ -180,8 +180,6 @@ The two halves are mirrored in a sense. On the right, you can find ,
Now, if you look at the left side, you'll notice that the mirror of , is ;, the mirror of . is : and the mirror of / is \\. The same logic used for Shift+/=? also applies to Shift+\\=|.
-As for the ISO keys, they are positioned more or less like they would on a classic keyboard: `KC_NUBS` on the left and `KC_NUHS` on the right.
-
In case you wish to combine Shift with a symbol key anyways, you can hold down Shift on the base layer with your pinky, activate Sym with your right thumb and while still holding down the Shift key, tap your desired symbol key. Same thing if you need Ctrl+Digit.
## Function layer
From dd1505e6c3dd74bfb6174ab602c9ace0b56f4750 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sat, 21 Aug 2021 18:11:12 +0200
Subject: [PATCH 08/10] Stripped the readme from all HTML formatting
---
keyboards/splitkb/kyria/keymaps/default/readme.md | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
index 1c349b64ca26..0fbdcdc47667 100644
--- a/keyboards/splitkb/kyria/keymaps/default/readme.md
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -1,14 +1,10 @@
# Kyria's Default Keymap
-
-
-
-
-
-
-Keyboard Layout Editor link
-
-
+![KLE render of the default Kyria keymap with QWERTY as the base layer. Layers are shown in sublegends.](https://i.ibb.co/RQZx2dY/default-kyria2.jpg)
+
+[Keyboard Layout Editor Link]
+
+[Keyboard Layout Editor Link]: http://www.keyboard-layout-editor.com/##@_name=Default%20Kyria&css=%2F%2F*%20Navigation%20*%2F%2F%0A.keylabel8%20%7B%0A%20%20%20%20color%2F:%20%23b09194%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Symbols%20*%2F%2F%0A.keylabel6%20%7B%0A%20%20%20%20color%2F:%20%230f7ba0%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Function%20*%2F%2F%0A.keylabel2%7B%0A%20%20%20%20color%2F:%20%2315a398%20!important%2F%3B%0A%7D%3B&@_y:0.25&x:3%3B&=E%0A3%0AF11&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:4%3B%3B&=I%0A8%0A%0A%3Ci%20class%2F='kb%20kb-Arrows-Up'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000%3B&=W%0A2%0AF10&_x:1%3B&=R%0A4%0AF12&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=U%0A7%0A%0AHome&_x:1%3B&=O%0A9%0A%0AEnd%3B&@_y:-0.875&x:5&t=%23000000%3B&=T%0A5&_x:5&t=%23000000%0A%0A%0A%2300adef%3B&=Y%0A6%0A%0APgUp%3B&@_y:-0.875&x:7&t=%23000000%0A%0A%0A%0A%0A%0A%0A%2315a398&f:2&w:3&h:1.25%3B&=%0ASYMBOLS%0A%0ANAVIGATION%0Amodifier%20when%20held%0A%0AQWERTY%0AFUNCTION%0A%3Cstrong%3ELEGEND%3C%2F%2Fstrong%3E%3B&@_y:-0.75&t=%23000000&f:3&fa@:5&:4%3B%3B&=%3Ci%20class%2F='kb%20kb-Line-Start-End'%3E%3C%2F%2Fi%3E%0A%60&_t=%23000000%0A%23009467&f:3%3B&=Q%0A1%0AF9&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=P%0A0%0A%0A%3Ci%20class%2F='fa%20fa-volume-up'%3E%3C%2F%2Fi%3E&_t=%23000000&f:3%3B&=%3Ci%20class%2F='kb%20kb-Unicode-BackSpace-DeleteLeft-Big'%3E%3C%2F%2Fi%3E%0A%2F=%0A%0A%3Ci%20class%2F='kb%20kb-Unicode-DeleteRight-Big'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:3&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=D%0A%23%0AF7%0ACtrl&_x:9&fa@:0&:5&:0&:4%3B%3B&=K%0A*%0ACtrl%0A%3Ci%20class%2F='kb%20kb-Arrows-Down'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&f:3%3B&=S%0A%2F@%0AF6%0AAlt&_x:1&fa@:0&:0&:0&:4%3B%3B&=F%0A$%0AF8%0A%E2%87%A7&_x:7&fa@:0&:0&:4&:4%3B%3B&=J%0A%2F&%0A%E2%87%A7%0A%3Ci%20class%2F='kb%20kb-Arrows-Left'%3E%3C%2F%2Fi%3E&_x:1&fa@:0&:0&:0&:4%3B%3B&=L%0A(%0AAlt%0A%3Ci%20class%2F='kb%20kb-Arrows-Right'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000%3B&=G%0A%25&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=H%0A%5E%0A%0APgDn%3B&@_y:-0.625&t=%23000000%3B&=Esc%0A~%0A%0A%0ACtrl&_t=%23000000%0A%0A%0A%2300adef&f:3%3B&=A%0A!%0AF5%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E&_x:13&t=%23000000%0A%0A%0A%2300adef%0A%2300adef&f:3%3B&=%2F%3B%20%2F:%0A)%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%3Ci%20class%2F='fa%20fa-volume-down'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:4%3B%3B&='%20%22%0A+%0A%0AIns%0ACtrl%3B&@_y:-0.75&x:3%3B&=C%0A%2F%3B%0AF3&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:2%3B%3B&=,%20%3C%0A,%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Play'%3E%3C%2F%2Fi%3E%2F%2F%3Ci%20class%2F='kb%20kb-Multimedia-Pause'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000&f:3%3B&=X%0A%2F:%0AF2&_x:1&f:3%3B&=V%0A-%0AF4&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:0%3B%3B&=M%0A%2F_%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Rewind-Start'%3E%3C%2F%2Fi%3E&_x:1%3B&=.%20%3E%0A.%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-FastForward-End'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000&f:3%3B&=B%0A%5B&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=N%0A%5D%0A%0ABrk%3B&@_y:-0.625&t=%23000000&fa@:5%3B%3B&=%E2%87%A7%0A%7C%0A%0A%0AShift&_f:3%3B&=Z%0A%5C%0AF1&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=%2F%2F%20%3F%0A%2F%2F%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Mute-1'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:5&:0&:0&:2%3B%3B&=%E2%87%A7%0A%3F%0A%0APrtSc%0AShift%3B&@_y:-0.5&x:2.5&a:7&fa@:2%3B%3B&=ADJUST&_x:10&a:4&f:3%3B&=%E2%96%A4%3B&@_rx:4&ry:8.175&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_rx:13&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_r:15&rx:4&y:-4.675000000000001&x:-0.5&fa@:5%3B%3B&=%3Ci%20class%2F='kb%20kb-Return-2'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AAlt%3B&@_r:30&y:-2&x:-0.5&f:3%3B&=%5B%20%7B%0A%7B%3B&@_x:-0.5&a:7%3B&=%3B&@_r:45&y:-2&x:-0.5&a:4&fa@:2&:0&:0&:2%3B%3B&=CapsLk%0A%0A%0AScrollLk%3B&@_x:-0.5&t=%23b09194&a:7&f:3%3B&=NAV%3B&@_r:-45&rx:13&y:-5.675000000000001&x:-0.5&t=%2315a398&f:3%3B&=F-keys%3B&@_x:-0.5&t=%230f7ba0&f:3%3B&=SYM%3B&@_r:-30&y:-2&x:-0.5&t=%23000000&a:4&f:3%3B&=%5D%20%7D%0A%7D%3B&@_x:-0.5&a:7%3B&=%3B&@_r:-15&y:-1&x:-0.5&a:4&f:3%3B&=AltGr%0A%0A%0A%0AAltGr
The default keymap contains 5 layers which allows it to include all keys found on a ISO layout TKL keyboard plus media keys.
Hardware features of the Kyria such as OLEDs, rotary encoders and underglow are also supported.
From 292a6ef7c04029e488354c0a6cadad03687af54b Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sat, 21 Aug 2021 18:13:43 +0200
Subject: [PATCH 09/10] =?UTF-8?q?"all=20keys=20found=20on=20a=20ISO=20layo?=
=?UTF-8?q?ut"=20=E2=86=92=20"all=20keys=20found=20on=20an=20ANSI=20layout?=
=?UTF-8?q?"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
ISO keys were removed from the layout in commit 8cb7c2d because they
were confusing.
---
keyboards/splitkb/kyria/keymaps/default/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
index 0fbdcdc47667..dd9913f56b7d 100644
--- a/keyboards/splitkb/kyria/keymaps/default/readme.md
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -6,7 +6,7 @@
[Keyboard Layout Editor Link]: http://www.keyboard-layout-editor.com/##@_name=Default%20Kyria&css=%2F%2F*%20Navigation%20*%2F%2F%0A.keylabel8%20%7B%0A%20%20%20%20color%2F:%20%23b09194%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Symbols%20*%2F%2F%0A.keylabel6%20%7B%0A%20%20%20%20color%2F:%20%230f7ba0%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Function%20*%2F%2F%0A.keylabel2%7B%0A%20%20%20%20color%2F:%20%2315a398%20!important%2F%3B%0A%7D%3B&@_y:0.25&x:3%3B&=E%0A3%0AF11&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:4%3B%3B&=I%0A8%0A%0A%3Ci%20class%2F='kb%20kb-Arrows-Up'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000%3B&=W%0A2%0AF10&_x:1%3B&=R%0A4%0AF12&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=U%0A7%0A%0AHome&_x:1%3B&=O%0A9%0A%0AEnd%3B&@_y:-0.875&x:5&t=%23000000%3B&=T%0A5&_x:5&t=%23000000%0A%0A%0A%2300adef%3B&=Y%0A6%0A%0APgUp%3B&@_y:-0.875&x:7&t=%23000000%0A%0A%0A%0A%0A%0A%0A%2315a398&f:2&w:3&h:1.25%3B&=%0ASYMBOLS%0A%0ANAVIGATION%0Amodifier%20when%20held%0A%0AQWERTY%0AFUNCTION%0A%3Cstrong%3ELEGEND%3C%2F%2Fstrong%3E%3B&@_y:-0.75&t=%23000000&f:3&fa@:5&:4%3B%3B&=%3Ci%20class%2F='kb%20kb-Line-Start-End'%3E%3C%2F%2Fi%3E%0A%60&_t=%23000000%0A%23009467&f:3%3B&=Q%0A1%0AF9&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=P%0A0%0A%0A%3Ci%20class%2F='fa%20fa-volume-up'%3E%3C%2F%2Fi%3E&_t=%23000000&f:3%3B&=%3Ci%20class%2F='kb%20kb-Unicode-BackSpace-DeleteLeft-Big'%3E%3C%2F%2Fi%3E%0A%2F=%0A%0A%3Ci%20class%2F='kb%20kb-Unicode-DeleteRight-Big'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:3&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=D%0A%23%0AF7%0ACtrl&_x:9&fa@:0&:5&:0&:4%3B%3B&=K%0A*%0ACtrl%0A%3Ci%20class%2F='kb%20kb-Arrows-Down'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&f:3%3B&=S%0A%2F@%0AF6%0AAlt&_x:1&fa@:0&:0&:0&:4%3B%3B&=F%0A$%0AF8%0A%E2%87%A7&_x:7&fa@:0&:0&:4&:4%3B%3B&=J%0A%2F&%0A%E2%87%A7%0A%3Ci%20class%2F='kb%20kb-Arrows-Left'%3E%3C%2F%2Fi%3E&_x:1&fa@:0&:0&:0&:4%3B%3B&=L%0A(%0AAlt%0A%3Ci%20class%2F='kb%20kb-Arrows-Right'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000%3B&=G%0A%25&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=H%0A%5E%0A%0APgDn%3B&@_y:-0.625&t=%23000000%3B&=Esc%0A~%0A%0A%0ACtrl&_t=%23000000%0A%0A%0A%2300adef&f:3%3B&=A%0A!%0AF5%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E&_x:13&t=%23000000%0A%0A%0A%2300adef%0A%2300adef&f:3%3B&=%2F%3B%20%2F:%0A)%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%3Ci%20class%2F='fa%20fa-volume-down'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:4%3B%3B&='%20%22%0A+%0A%0AIns%0ACtrl%3B&@_y:-0.75&x:3%3B&=C%0A%2F%3B%0AF3&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:2%3B%3B&=,%20%3C%0A,%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Play'%3E%3C%2F%2Fi%3E%2F%2F%3Ci%20class%2F='kb%20kb-Multimedia-Pause'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000&f:3%3B&=X%0A%2F:%0AF2&_x:1&f:3%3B&=V%0A-%0AF4&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:0%3B%3B&=M%0A%2F_%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Rewind-Start'%3E%3C%2F%2Fi%3E&_x:1%3B&=.%20%3E%0A.%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-FastForward-End'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000&f:3%3B&=B%0A%5B&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=N%0A%5D%0A%0ABrk%3B&@_y:-0.625&t=%23000000&fa@:5%3B%3B&=%E2%87%A7%0A%7C%0A%0A%0AShift&_f:3%3B&=Z%0A%5C%0AF1&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=%2F%2F%20%3F%0A%2F%2F%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Mute-1'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:5&:0&:0&:2%3B%3B&=%E2%87%A7%0A%3F%0A%0APrtSc%0AShift%3B&@_y:-0.5&x:2.5&a:7&fa@:2%3B%3B&=ADJUST&_x:10&a:4&f:3%3B&=%E2%96%A4%3B&@_rx:4&ry:8.175&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_rx:13&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_r:15&rx:4&y:-4.675000000000001&x:-0.5&fa@:5%3B%3B&=%3Ci%20class%2F='kb%20kb-Return-2'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AAlt%3B&@_r:30&y:-2&x:-0.5&f:3%3B&=%5B%20%7B%0A%7B%3B&@_x:-0.5&a:7%3B&=%3B&@_r:45&y:-2&x:-0.5&a:4&fa@:2&:0&:0&:2%3B%3B&=CapsLk%0A%0A%0AScrollLk%3B&@_x:-0.5&t=%23b09194&a:7&f:3%3B&=NAV%3B&@_r:-45&rx:13&y:-5.675000000000001&x:-0.5&t=%2315a398&f:3%3B&=F-keys%3B&@_x:-0.5&t=%230f7ba0&f:3%3B&=SYM%3B&@_r:-30&y:-2&x:-0.5&t=%23000000&a:4&f:3%3B&=%5D%20%7D%0A%7D%3B&@_x:-0.5&a:7%3B&=%3B&@_r:-15&y:-1&x:-0.5&a:4&f:3%3B&=AltGr%0A%0A%0A%0AAltGr
-The default keymap contains 5 layers which allows it to include all keys found on a ISO layout TKL keyboard plus media keys.
+The default keymap contains 5 layers which allows it to include all keys found on an ANSI layout TKL keyboard plus media keys.
Hardware features of the Kyria such as OLEDs, rotary encoders and underglow are also supported.
The five different layers are the following:
From 34d0ad4bff41b622753ec90749cc5f809ab5cb17 Mon Sep 17 00:00:00 2001
From: precondition <57645186+precondition@users.noreply.github.com>
Date: Sat, 21 Aug 2021 21:16:04 +0200
Subject: [PATCH 10/10] Remove the long KLE link
Co-authored-by: Ryan
---
keyboards/splitkb/kyria/keymaps/default/readme.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/keyboards/splitkb/kyria/keymaps/default/readme.md b/keyboards/splitkb/kyria/keymaps/default/readme.md
index dd9913f56b7d..7401609f356b 100644
--- a/keyboards/splitkb/kyria/keymaps/default/readme.md
+++ b/keyboards/splitkb/kyria/keymaps/default/readme.md
@@ -2,9 +2,6 @@
![KLE render of the default Kyria keymap with QWERTY as the base layer. Layers are shown in sublegends.](https://i.ibb.co/RQZx2dY/default-kyria2.jpg)
-[Keyboard Layout Editor Link]
-
-[Keyboard Layout Editor Link]: http://www.keyboard-layout-editor.com/##@_name=Default%20Kyria&css=%2F%2F*%20Navigation%20*%2F%2F%0A.keylabel8%20%7B%0A%20%20%20%20color%2F:%20%23b09194%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Symbols%20*%2F%2F%0A.keylabel6%20%7B%0A%20%20%20%20color%2F:%20%230f7ba0%20!important%2F%3B%0A%7D%0A%0A%2F%2F*%20Function%20*%2F%2F%0A.keylabel2%7B%0A%20%20%20%20color%2F:%20%2315a398%20!important%2F%3B%0A%7D%3B&@_y:0.25&x:3%3B&=E%0A3%0AF11&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:4%3B%3B&=I%0A8%0A%0A%3Ci%20class%2F='kb%20kb-Arrows-Up'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000%3B&=W%0A2%0AF10&_x:1%3B&=R%0A4%0AF12&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=U%0A7%0A%0AHome&_x:1%3B&=O%0A9%0A%0AEnd%3B&@_y:-0.875&x:5&t=%23000000%3B&=T%0A5&_x:5&t=%23000000%0A%0A%0A%2300adef%3B&=Y%0A6%0A%0APgUp%3B&@_y:-0.875&x:7&t=%23000000%0A%0A%0A%0A%0A%0A%0A%2315a398&f:2&w:3&h:1.25%3B&=%0ASYMBOLS%0A%0ANAVIGATION%0Amodifier%20when%20held%0A%0AQWERTY%0AFUNCTION%0A%3Cstrong%3ELEGEND%3C%2F%2Fstrong%3E%3B&@_y:-0.75&t=%23000000&f:3&fa@:5&:4%3B%3B&=%3Ci%20class%2F='kb%20kb-Line-Start-End'%3E%3C%2F%2Fi%3E%0A%60&_t=%23000000%0A%23009467&f:3%3B&=Q%0A1%0AF9&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=P%0A0%0A%0A%3Ci%20class%2F='fa%20fa-volume-up'%3E%3C%2F%2Fi%3E&_t=%23000000&f:3%3B&=%3Ci%20class%2F='kb%20kb-Unicode-BackSpace-DeleteLeft-Big'%3E%3C%2F%2Fi%3E%0A%2F=%0A%0A%3Ci%20class%2F='kb%20kb-Unicode-DeleteRight-Big'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:3&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=D%0A%23%0AF7%0ACtrl&_x:9&fa@:0&:5&:0&:4%3B%3B&=K%0A*%0ACtrl%0A%3Ci%20class%2F='kb%20kb-Arrows-Down'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&f:3%3B&=S%0A%2F@%0AF6%0AAlt&_x:1&fa@:0&:0&:0&:4%3B%3B&=F%0A$%0AF8%0A%E2%87%A7&_x:7&fa@:0&:0&:4&:4%3B%3B&=J%0A%2F&%0A%E2%87%A7%0A%3Ci%20class%2F='kb%20kb-Arrows-Left'%3E%3C%2F%2Fi%3E&_x:1&fa@:0&:0&:0&:4%3B%3B&=L%0A(%0AAlt%0A%3Ci%20class%2F='kb%20kb-Arrows-Right'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000%3B&=G%0A%25&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=H%0A%5E%0A%0APgDn%3B&@_y:-0.625&t=%23000000%3B&=Esc%0A~%0A%0A%0ACtrl&_t=%23000000%0A%0A%0A%2300adef&f:3%3B&=A%0A!%0AF5%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E&_x:13&t=%23000000%0A%0A%0A%2300adef%0A%2300adef&f:3%3B&=%2F%3B%20%2F:%0A)%0A%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%3Ci%20class%2F='fa%20fa-volume-down'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:4%3B%3B&='%20%22%0A+%0A%0AIns%0ACtrl%3B&@_y:-0.75&x:3%3B&=C%0A%2F%3B%0AF3&_x:9&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:2%3B%3B&=,%20%3C%0A,%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Play'%3E%3C%2F%2Fi%3E%2F%2F%3Ci%20class%2F='kb%20kb-Multimedia-Pause'%3E%3C%2F%2Fi%3E%3B&@_y:-0.75&x:2&t=%23000000&f:3%3B&=X%0A%2F:%0AF2&_x:1&f:3%3B&=V%0A-%0AF4&_x:7&t=%23000000%0A%0A%0A%2300adef&fa@:0&:4&:0&:0%3B%3B&=M%0A%2F_%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Rewind-Start'%3E%3C%2F%2Fi%3E&_x:1%3B&=.%20%3E%0A.%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-FastForward-End'%3E%3C%2F%2Fi%3E%3B&@_y:-0.875&x:5&t=%23000000&f:3%3B&=B%0A%5B&_x:5&t=%23000000%0A%0A%0A%2300adef&fa@:0&:0&:0&:2%3B%3B&=N%0A%5D%0A%0ABrk%3B&@_y:-0.625&t=%23000000&fa@:5%3B%3B&=%E2%87%A7%0A%7C%0A%0A%0AShift&_f:3%3B&=Z%0A%5C%0AF1&_x:13&t=%23000000%0A%0A%0A%2300adef&f:3%3B&=%2F%2F%20%3F%0A%2F%2F%0A%0A%3Ci%20class%2F='kb%20kb-Multimedia-Mute-1'%3E%3C%2F%2Fi%3E&_t=%23000000&fa@:5&:0&:0&:2%3B%3B&=%E2%87%A7%0A%3F%0A%0APrtSc%0AShift%3B&@_y:-0.5&x:2.5&a:7&fa@:2%3B%3B&=ADJUST&_x:10&a:4&f:3%3B&=%E2%96%A4%3B&@_rx:4&ry:8.175&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_rx:13&y:-4.675000000000001&x:-0.5&f:3%3B&=%3Ci%20class%2F='kb%20kb-logo-windows-8'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AGUI%3B&@_r:15&rx:4&y:-4.675000000000001&x:-0.5&fa@:5%3B%3B&=%3Ci%20class%2F='kb%20kb-Return-2'%3E%3C%2F%2Fi%3E%0A%0A%0A%0AAlt%3B&@_r:30&y:-2&x:-0.5&f:3%3B&=%5B%20%7B%0A%7B%3B&@_x:-0.5&a:7%3B&=%3B&@_r:45&y:-2&x:-0.5&a:4&fa@:2&:0&:0&:2%3B%3B&=CapsLk%0A%0A%0AScrollLk%3B&@_x:-0.5&t=%23b09194&a:7&f:3%3B&=NAV%3B&@_r:-45&rx:13&y:-5.675000000000001&x:-0.5&t=%2315a398&f:3%3B&=F-keys%3B&@_x:-0.5&t=%230f7ba0&f:3%3B&=SYM%3B&@_r:-30&y:-2&x:-0.5&t=%23000000&a:4&f:3%3B&=%5D%20%7D%0A%7D%3B&@_x:-0.5&a:7%3B&=%3B&@_r:-15&y:-1&x:-0.5&a:4&f:3%3B&=AltGr%0A%0A%0A%0AAltGr
The default keymap contains 5 layers which allows it to include all keys found on an ANSI layout TKL keyboard plus media keys.
Hardware features of the Kyria such as OLEDs, rotary encoders and underglow are also supported.