summaryrefslogtreecommitdiff
path: root/planck
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-08-12 16:17:54 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-08-12 16:17:54 +0200
commit3ddca1498576df51283aae3ded40d127fa107af3 (patch)
tree2babe4d241a926d1df2d2bf44fe9dd42ce977ef2 /planck
parentb5b7228839ab828d7446e3e0c3ae6f29a197a7d8 (diff)
fine tune a bit
Diffstat (limited to 'planck')
-rw-r--r--planck/config.h2
-rw-r--r--planck/keymap.c13
2 files changed, 1 insertions, 14 deletions
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 |