fix(caps-mod): fix errant modifier taps and dummy keypress for combos #10

Merged
rootiest merged 4 commits from fix/caps-mod into main 2026-04-11 04:52:42 +00:00
2 changed files with 12 additions and 0 deletions
Showing only changes of commit d4bd903423 - Show all commits
@@ -3,6 +3,16 @@
#pragma once
// Tight, strict combo window for a simultaneous 3-key press.
// This ensures the fallback combo only fires when intended.
#define COMBO_TERM 10
#define COMBO_STRICT_TIMER
// Use a more conservative debounce period (20ms is standard for Keychron)
// but since we switched to 'sym_defer_pk' in rules.mk, this will now
// require 20ms of STABILITY before a keypress is reported.
#define DEBOUNCE 20
// Always resolve combo keycodes from BASE (layer 0) so the
// COMM+DOT+SLSH fallback combo fires regardless of the active layer.
#define COMBO_ONLY_FROM_LAYER 0
@@ -5,3 +5,5 @@ COMBO_ENABLE = yes
CAPS_WORD_ENABLE = yes
AUTOCORRECT_ENABLE = yes
SRC += chord_unicode.c
DEBOUNCE_TYPE = sym_defer_pk