Skip to content

Commit

Permalink
[Docs] Add default case to tap dance example 5. (qmk#14893)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenRei authored Oct 23, 2021
1 parent 974e9e0 commit ff39890
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/feature_tap_dance.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ void altlp_finished(qk_tap_dance_state_t *state, void *user_data) {
case TD_DOUBLE_SINGLE_TAP: // Allow nesting of 2 parens `((` within tapping term
tap_code16(KC_LPRN);
register_code16(KC_LPRN);
break;
default:
break;
}
}

Expand All @@ -406,6 +409,9 @@ void altlp_reset(qk_tap_dance_state_t *state, void *user_data) {
break;
case TD_DOUBLE_SINGLE_TAP:
unregister_code16(KC_LPRN);
break;
default:
break;
}
}

Expand Down

0 comments on commit ff39890

Please sign in to comment.