From 03bef80a955dfb9530d4836043b175af162ee6ea Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 9 Oct 2024 00:58:06 +0200 Subject: [PATCH] add colemak dh :3 --- keyboards/lily58/keymaps/poz/keymap.c | 34 ++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/keyboards/lily58/keymaps/poz/keymap.c b/keyboards/lily58/keymaps/poz/keymap.c index cd43ba87ce..094c616514 100644 --- a/keyboards/lily58/keymaps/poz/keymap.c +++ b/keyboards/lily58/keymaps/poz/keymap.c @@ -4,7 +4,8 @@ #include enum layer_number { - _BASE = 0, + _QWRT = 0, + _CLMK, _LEFT, _RIGHT, _MIDDLE, @@ -14,7 +15,7 @@ enum layer_number { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* BASE +/* QWERTY * ,-----------------------------------------. ,-----------------------------------------. * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del | * |------+------+------+------+------+------| |------+------+------+------+------+------| @@ -29,13 +30,34 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `----------------------------' '------''--------------------' */ -[_BASE] = LAYOUT( +[_QWRT] = LAYOUT( KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, CTL_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, MS_BTN1, MS_BTN2, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RALT, KC_LALT, KC_LGUI, MO(_LEFT), KC_SPC, KC_ENT, MO(_RIGHT), KC_BSPC, KC_RGUI ), +/* COLEMAK DH + * ,-----------------------------------------. ,-----------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Tab | Q | W | F | P | B | | J | L | U | Y | ; | - | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * |CTLESC| A | R | S | T | G |-------. ,-------| M | N | E | I | O | ' | + * |------+------+------+------+------+------|MS_BTN1| |MS_BTN2|------+------+------+------+------+------| + * |LShift| Z | X | C | D | V |-------| |-------| K | H | , | . | / | RAlt | + * `-----------------------------------------/ / \ \-----------------------------------------' + * | LAlt | LGUI |LEFT | /Space / \Enter \ |RIGHT |BackSP| RGUI | + * | | | |/ / \ \ | | | | + * `----------------------------' '------''--------------------' + */ +[_CLMK] = LAYOUT( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_MINS, + CTL_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, MS_BTN1, MS_BTN2, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RALT, + KC_LALT, KC_LGUI, MO(_LEFT), KC_SPC, KC_ENT, MO(_RIGHT), KC_BSPC, KC_RGUI +), /* LEFT * ,-----------------------------------------. ,-----------------------------------------. * | Esc | | | | | | | | | | | | | @@ -44,7 +66,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * |------+------+------+------+------+------| |------+------+------+------+------+------| * | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - | * |------+------+------+------+------+------|MS_BTN1| |MS_BTN2|------+------+------+------+------+------| - * | | | | | | |-------| |-------| | _ | + | { | } | | | + * | | | | | |LAYOUT|-------| |-------| | _ | + | { | } | | | * `-----------------------------------------/ / \ \-----------------------------------------' * | LAlt | LGUI |LEFT | /Space / \Enter \ |RIGHT |BackSP| RGUI | * | | | |/ / \ \ | | | | @@ -53,8 +75,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LEFT] = LAYOUT( KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD, - _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD, + _______, _______, _______, _______, _______, TG(_CLMK), _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, _______ ), /* RIGHT