diff options
Diffstat (limited to 'quantum/action.c')
| -rw-r--r-- | quantum/action.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/quantum/action.c b/quantum/action.c index 6368f7398c..29822c39e9 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -374,7 +374,7 @@ void process_action(keyrecord_t *record, action_t action) {      if (is_oneshot_layer_active() && event.pressed &&          (action.kind.id == ACT_USAGE || !(IS_MODIFIER_KEYCODE(action.key.code)  #    ifndef NO_ACTION_TAPPING -                                          || (tap_count == 0 && (action.kind.id == ACT_LMODS_TAP || action.kind.id == ACT_RMODS_TAP)) +                                          || ((action.kind.id == ACT_LMODS_TAP || action.kind.id == ACT_RMODS_TAP) && (action.layer_tap.code <= MODS_TAP_TOGGLE || tap_count == 0))  #    endif                                                ))  #    ifdef SWAP_HANDS_ENABLE @@ -497,7 +497,7 @@ void process_action(keyrecord_t *record, action_t action) {                  default:                      if (event.pressed) {                          if (tap_count > 0) { -#    ifdef HOLD_ON_OTHER_KEY_PRESS_PER_KEY +#    ifdef HOLD_ON_OTHER_KEY_PRESS                              if (  #        ifdef HOLD_ON_OTHER_KEY_PRESS_PER_KEY                                  get_hold_on_other_key_press(get_event_keycode(record->event, false), record) && @@ -925,7 +925,7 @@ __attribute__((weak)) void register_code(uint8_t code) {          // Force a new key press if the key is already pressed          // without this, keys with the same keycode, but different          // modifiers will be reported incorrectly, see issue #1708 -        if (is_key_pressed(keyboard_report, code)) { +        if (is_key_pressed(code)) {              del_key(code);              send_keyboard_report();          } | 
