From 7f5ca25f667d4311ea3ec8fee1b3e2511f88bbac Mon Sep 17 00:00:00 2001 From: Nicksname Date: Wed, 5 Oct 2022 23:04:29 +0200 Subject: [PATCH] Mod-keys are in the homerow * Modifiers such as LGUI, LCTRL, LALT, LSFT are now on the homerow of the left and the right hand. They are triggered after holding the coresponding Key for more than 240ms (see config.h) * Implemented in Layer 0 and 4 (Neo and Qwertz) * Thumb-cluster cleaned up. No need for any other Modifiers --- keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keymap.c b/keymap.c index 3d23ade..22727c2 100644 --- a/keymap.c +++ b/keymap.c @@ -6,9 +6,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, KC_TAB, KC_X, KC_V, KC_L, KC_C, KC_W, KC_K, KC_H, KC_G, KC_F, KC_Q, KC_MINS, - OSL(1), KC_U, KC_I, MT(MOD_LALT,KC_A), MT(MOD_LGUI,KC_E), KC_O, KC_S, MT(MOD_RGUI,KC_N), MT(MOD_LALT,KC_R), KC_T, KC_D, KC_Z, + OSL(1), MT(MOD_LSFT, KC_U), MT(MOD_LALT, KC_I), MT(MOD_LCTL, KC_A), MT(MOD_LGUI,KC_E), KC_O, KC_S, MT(MOD_RGUI,KC_N), MT(MOD_LCTL, KC_R), MT(MOD_LALT, KC_T), MT(MOD_LSFT, KC_D), KC_Z, KC_LSFT, KC_LBRC, KC_SCLN, KC_QUOT, KC_P, KC_Y, KC_MUTE, KC_END, KC_B, KC_M, KC_COMM, KC_DOT, KC_J, KC_RSFT, - KC_LGUI, KC_LCTL, KC_ENT, KC_SPC, TO(2), OSL(1) + KC_NO, KC_NO, KC_ENT, KC_SPC, TO(2), OSL(1) ), // SYMB @@ -24,7 +24,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [2] = LAYOUT( _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, _______, LGUI(LCTL(KC_LEFT)), LGUI(LCTL(KC_RGHT)), _______, _______, _______, - _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, + _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______, KC_LGUI, KC_LCTL, KC_LALT, KC_LSFT, _______, _______, _______, _______, RCS(KC_TAB), LCTL(KC_TAB), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, _______, TO(3), TO(4) ), @@ -42,7 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [4] = LAYOUT( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - KC_LCTL, KC_A, KC_S, MT(MOD_LALT,KC_D), MT(MOD_LGUI, KC_F), KC_G, KC_H, MT(MOD_LGUI,KC_J), MT(MOD_LALT,KC_K), KC_L, KC_SCLN, KC_QUOT, + KC_NO, MT(MOD_LSFT,KC_A),MT(MOD_LALT,KC_S), MT(MOD_LCTL, KC_D), MT(MOD_LGUI,KC_F), KC_G, KC_H, MT(MOD_RGUI,KC_J), MT(MOD_LCTL, KC_K), MT(MOD_LALT, KC_L), MT(MOD_LSFT, KC_SCLN), KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_MUTE, _______, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT, TO(5), TO(0), _______, _______, _______, _______ ),