Register the interrupting keycode in the tap dance state struct
2 files changed, 3 insertions(+), 0 deletions(-) M quantum/process_keycode/process_tap_dance.c M quantum/process_keycode/process_tap_dance.h
M quantum/process_keycode/process_tap_dance.c => quantum/process_keycode/process_tap_dance.c +2 -0
@@ 131,6 131,7 @@ void preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) { if (keycode == action->state.keycode && keycode == last_td) continue; action->state.interrupted = true; action->state.interrupting_keycode = keycode; process_tap_dance_action_on_dance_finished (action); reset_tap_dance (&action->state); @@ } 209,5 210,6 @@ void reset_tap_dance (qk_tap_dance_state_t *state) { state->count = 0; state->interrupted = false; state->finished = false; state->interrupting_keycode = 0; last_td = 0; }
M quantum/process_keycode/process_tap_dance.h => quantum/process_keycode/process_tap_dance.h +1 -0