From 3ddca1498576df51283aae3ded40d127fa107af3 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 12 Aug 2023 16:17:54 +0200 Subject: [PATCH] fine tune a bit --- ferris/config.h | 2 +- ferris/keymap.c | 13 ------------- planck/config.h | 2 +- planck/keymap.c | 13 ------------- 4 files changed, 2 insertions(+), 28 deletions(-) diff --git a/ferris/config.h b/ferris/config.h index b37cf1d..f789ea4 100644 --- a/ferris/config.h +++ b/ferris/config.h @@ -33,7 +33,7 @@ // details see https://precondition.github.io/home-row-mods // the default of 200 -#define TAPPING_TERM 200 +#define TAPPING_TERM 175 // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. #define QUICK_TAP_TERM 0 diff --git a/ferris/keymap.c b/ferris/keymap.c index d0327ed..f47c5ff 100644 --- a/ferris/keymap.c +++ b/ferris/keymap.c @@ -77,19 +77,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -// try to be more permissive with holds for layer switch keys -bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LT(_NUM, KC_SPC): - case LT(_NAV, KC_E): - // Immediately select the hold action when another key is tapped. - return true; - default: - // Do not select the hold action when another key is tapped. - return false; - } -} - // // improve home row modifiers via achordion // diff --git a/planck/config.h b/planck/config.h index 2ff606b..af3edee 100644 --- a/planck/config.h +++ b/planck/config.h @@ -33,7 +33,7 @@ // details see https://precondition.github.io/home-row-mods // the default of 200 -#define TAPPING_TERM 200 +#define TAPPING_TERM 175 // Enable rapid switch from tap to hold, disables double tap hold auto-repeat. #define QUICK_TAP_TERM 0 diff --git a/planck/keymap.c b/planck/keymap.c index 024673b..661d086 100644 --- a/planck/keymap.c +++ b/planck/keymap.c @@ -92,19 +92,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -// try to be more permissive with holds for layer switch keys -bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LT(_NUM, KC_SPC): - case LT(_NAV, KC_E): - // Immediately select the hold action when another key is tapped. - return true; - default: - // Do not select the hold action when another key is tapped. - return false; - } -} - /* plwnck rev6 RGB layout: * ---------------------------------- * | 6 5 4 3 |