From 5100e9ab7c161fd561b45df51eb5bf2c33b4ccc8 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 14 Oct 2022 18:49:39 +0200 Subject: [PATCH] try without home row modifiers ATM --- config.h | 18 ------------------ keymap.c | 25 +++++-------------------- 2 files changed, 5 insertions(+), 38 deletions(-) diff --git a/config.h b/config.h index 29b6711..1e43aac 100644 --- a/config.h +++ b/config.h @@ -19,24 +19,6 @@ // not more than 8 layers #define LAYER_STATE_8BIT -// settings for home row modifiers -// details see https://precondition.github.io/home-row-mods - -// allow per key changes of tapping term, home row uses longer delay -#define TAPPING_TERM_PER_KEY - -// configure the global tapping term -#define TAPPING_TERM 150 - -// home row tapping term, longer to avoid strange thing from happening -#define TAPPING_TERM_HOME_ROW 250 - -// Prevent normal rollover on alphas from accidentally triggering mods. -#define IGNORE_MOD_TAP_INTERRUPT - -// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. -#define TAPPING_FORCE_HOLD - // try to be more permissive with holds, allows to trigger modifiers fasters #define PERMISSIVE_HOLD diff --git a/keymap.c b/keymap.c index c698a28..25f1861 100644 --- a/keymap.c +++ b/keymap.c @@ -34,16 +34,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * |------+------+------+------+------+------+------+------+------+------+------+------| * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | + * | Shift| Z | X | C | V | B | N | M | , | . | / |Shift | * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | Cmd | |Space | | Bksp | Fn | Alt | GUI | Ctrl | + * | Ctrl | GUI | Cmd | Alt | |Space | | Bksp | Alt | Fn | GUI | Ctrl | * `-----------------------------------------------------------------------------------' */ [_QWERTY] = LAYOUT_planck_grid( KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - LCTL_T(KC_ESC), KC_A, RALT_T(KC_S), LALT_T(KC_D), LSFT_T(KC_F), KC_G, KC_H, RSFT_T(KC_J), LALT_T(KC_K), RALT_T(KC_L), LT(_NAV, KC_SCLN), RCTL_T(KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_ENT), - KC_LCTL, KC_LGUI, KC_LALT, MO(_CMD), MO(_LOWER), KC_SPC, KC_ENT, MO(_RAISE), MO(_FN), KC_RALT, KC_RGUI, KC_RCTL + LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(_NAV, KC_SCLN), RCTL_T(KC_QUOT), + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, MO(_CMD), KC_LALT, MO(_LOWER), KC_SPC, KC_ENT, MO(_RAISE), KC_RALT, MO(_FN), KC_RGUI, KC_RCTL ), /* Lower @@ -140,21 +140,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -// per-key tapping term -uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case RALT_T(KC_S): - case LALT_T(KC_D): - case LSFT_T(KC_F): - case RSFT_T(KC_J): - case LALT_T(KC_K): - case RALT_T(KC_L): - return TAPPING_TERM_HOME_ROW; - default: - return TAPPING_TERM; - } -} - /* plwnck rev6 RGB layout: * ---------------------------------- * | 6 5 4 3 |