From ffdafbf6c9edaa214977472b6e490cfa6c236281 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 28 Jan 2022 18:10:50 -0800 Subject: [PATCH] Add fixes --- quantum/process_keycode/process_autocorrect.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/quantum/process_keycode/process_autocorrect.c b/quantum/process_keycode/process_autocorrect.c index 6047618ad943..00fd9ed64721 100644 --- a/quantum/process_keycode/process_autocorrect.c +++ b/quantum/process_keycode/process_autocorrect.c @@ -47,15 +47,11 @@ bool process_autocorrect(uint16_t keycode, keyrecord_t* record) { return true; #ifndef NO_ACTION_TAPPING case QK_MOD_TAP ... QK_MOD_TAP_MAX: - if (((keycode >> 8) & 0xF) == MOD_LSFT && !record->tap.count) { - return true; - } - // fall through intentionally # ifndef NO_ACTION_LAYER case QK_LAYER_TAP ... QK_LAYER_TAP_MAX: # endif - if (record->event.pressed || !record->tap.count) { - return true; + if (!record->tap.count) { + return true; // Early return if tap-hold key is not being tapped. } keycode &= 0xFF; break;