1
0

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

This commit is contained in:
Pascal Getreuer
2025-11-11 03:27:12 -08:00
committed by GitHub
parent 2af9aac61c
commit efc5d63383
20 changed files with 3662 additions and 1 deletions

View File

@@ -281,6 +281,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
#ifdef FLOW_TAP_TERM
flow_tap_update_last_event(record);
#endif // FLOW_TAP_TERM