summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-10-03 19:18:57 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-10-03 19:18:57 +0200
commitf56f078ba55445ac9ae8a535e52837d4968942cf (patch)
treeffc71df87fbbb5f989a2ed510fdd5a3326e6ac12 /common
parent504f362d9667644d21358dfdbcc27dbec66552f1 (diff)
bit config tuning
Diffstat (limited to 'common')
-rw-r--r--common/config.h5
-rw-r--r--common/keymap.h4
-rw-r--r--common/rules.mk3
3 files changed, 9 insertions, 3 deletions
diff --git a/common/config.h b/common/config.h
index 13f1234..9c1f808 100644
--- a/common/config.h
+++ b/common/config.h
@@ -16,6 +16,9 @@
#pragma once
+// bit larger debounce delay, the default is 5
+#define DEBOUNCE 10
+
// no more than 8 layers
#define LAYER_STATE_8BIT
@@ -30,7 +33,7 @@
// details see https://precondition.github.io/home-row-mods
// the default is 200
-#define TAPPING_TERM 175
+#define TAPPING_TERM 200
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
#define QUICK_TAP_TERM 0
diff --git a/common/keymap.h b/common/keymap.h
index 051aef9..3b7240e 100644
--- a/common/keymap.h
+++ b/common/keymap.h
@@ -92,8 +92,8 @@ bool achordion_chord(uint16_t tap_hold_keycode,
keyrecord_t* tap_hold_record,
uint16_t other_keycode,
keyrecord_t* other_record) {
- // Also allow same-hand holds when the other key is in the rows below the
- // alphas. I need the `% (MATRIX_ROWS / 2)` because my keyboard is split.
+ // allow that bottom row has no delay
+ if (tap_hold_record->event.key.row % (MATRIX_ROWS / 2) >= 3) { return true; }
if (other_record->event.key.row % (MATRIX_ROWS / 2) >= 3) { return true; }
// Otherwise, follow the opposite hands rule.
diff --git a/common/rules.mk b/common/rules.mk
index 904762d..82f7de2 100644
--- a/common/rules.mk
+++ b/common/rules.mk
@@ -10,5 +10,8 @@ SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
+# responsive debouncing
+DEBOUNCE_TYPE = sym_eager_pk
+
# add achordion to improve home row modifiers
SRC += /home/cullmann/install/qmk/christoph-cullmann/common/achordion.c