summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorForsakenRei <23041178+ForsakenRei@users.noreply.github.com>2021-10-23 02:45:07 -0400
committerGitHub <noreply@github.com>2021-10-22 23:45:07 -0700
commitff3989062089fca2778b15432403cf68520ca324 (patch)
treed1e6faeb169b563cec78988590b6115f3c262253 /docs
parent974e9e0a6b60423aaeb55a32d62f4835aee01a33 (diff)
[Docs] Add default case to tap dance example 5. (#14893)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_tap_dance.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/feature_tap_dance.md b/docs/feature_tap_dance.md
index 5f413d3a39..d1988b9b7d 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;
}
}