From e1b696d8eed907f78228f1d10ded17d305a0c7fc Mon Sep 17 00:00:00 2001 From: ForsakenRei <23041178+ForsakenRei@users.noreply.github.com> Date: Wed, 20 Oct 2021 10:14:04 -0400 Subject: [PATCH] Add default case to tap dance example 5. --- docs/feature_tap_dance.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/feature_tap_dance.md b/docs/feature_tap_dance.md index 5f413d3a39c9..d1988b9b7d35 100644 --- a/docs/feature_tap_dance.md +++ b/docs/feature_tap_dance.md @@ -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; } } @@ -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; } }