Skip to content

Commit

Permalink
Add default case to example 5.
Browse files Browse the repository at this point in the history
According to qmk#14836, example 5 need the default case to avoid compiling error.
  • Loading branch information
ForsakenRei authored Oct 20, 2021
1 parent c9562eb commit 1be2402
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 1be2402

Please sign in to comment.