Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Feb 4, 2022
1 parent b7b1625 commit ffdafbf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions quantum/process_keycode/process_autocorrect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ffdafbf

Please sign in to comment.