summaryrefslogtreecommitdiff
path: root/common/keymap.h
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/keymap.h
parent504f362d9667644d21358dfdbcc27dbec66552f1 (diff)
bit config tuning
Diffstat (limited to 'common/keymap.h')
-rw-r--r--common/keymap.h4
1 files changed, 2 insertions, 2 deletions
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.