~ruther/qmk_firmware

0301d2fdc268b5f086d697ff855d72c88e3f2c00 — Jack Humbert 9 years ago e28d151 + acda2b7
Merge pull request #710 from algernon/h/tap-dance/keyup-seq-start-fix

tap-dance: Do not start a sequence on keyup
1 files changed, 3 insertions(+), 2 deletions(-)

M quantum/process_keycode/process_tap_dance.c
M quantum/process_keycode/process_tap_dance.c => quantum/process_keycode/process_tap_dance.c +3 -2
@@ 65,9 65,9 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
      highest_td = idx;
    action = &tap_dance_actions[idx];

    action->state.keycode = keycode;
    action->state.pressed = record->event.pressed;
    if (record->event.pressed) {
      action->state.keycode = keycode;
      action->state.count++;
      action->state.timer = timer_read();



@@ 77,8 77,9 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
        process_tap_dance_action_on_dance_finished (paction);
        reset_tap_dance (&paction->state);
      }

      last_td = keycode;
    }
    last_td = keycode;

    break;