[Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572)

This commit is contained in:
Pascal Getreuer
2026-04-15 03:48:26 -04:00
committed by rootiest
parent 20a605ce1f
commit 848972b7be
20 changed files with 3663 additions and 1 deletions
+5
View File
@@ -270,6 +270,11 @@ void process_record(keyrecord_t *record) {
if (IS_NOEVENT(record->event)) {
return;
}
#ifdef SPECULATIVE_HOLD
if (record->event.pressed) {
speculative_key_settled(record);
}
#endif // SPECULATIVE_HOLD
if (!process_record_quantum(record)) {
#ifndef NO_ACTION_ONESHOT