diff options
| author | ForsakenRei <23041178+ForsakenRei@users.noreply.github.com> | 2021-10-23 02:45:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-22 23:45:07 -0700 |
| commit | ff3989062089fca2778b15432403cf68520ca324 (patch) | |
| tree | d1e6faeb169b563cec78988590b6115f3c262253 | |
| parent | 974e9e0a6b60423aaeb55a32d62f4835aee01a33 (diff) | |
| download | qmk_firmware-ff3989062089fca2778b15432403cf68520ca324.tar.gz qmk_firmware-ff3989062089fca2778b15432403cf68520ca324.zip | |
[Docs] Add default case to tap dance example 5. (#14893)
| -rw-r--r-- | docs/feature_tap_dance.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/feature_tap_dance.md b/docs/feature_tap_dance.md index 5f413d3a3..d1988b9b7 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) { | |||
| 393 | case TD_DOUBLE_SINGLE_TAP: // Allow nesting of 2 parens `((` within tapping term | 393 | case TD_DOUBLE_SINGLE_TAP: // Allow nesting of 2 parens `((` within tapping term |
| 394 | tap_code16(KC_LPRN); | 394 | tap_code16(KC_LPRN); |
| 395 | register_code16(KC_LPRN); | 395 | register_code16(KC_LPRN); |
| 396 | break; | ||
| 397 | default: | ||
| 398 | break; | ||
| 396 | } | 399 | } |
| 397 | } | 400 | } |
| 398 | 401 | ||
| @@ -406,6 +409,9 @@ void altlp_reset(qk_tap_dance_state_t *state, void *user_data) { | |||
| 406 | break; | 409 | break; |
| 407 | case TD_DOUBLE_SINGLE_TAP: | 410 | case TD_DOUBLE_SINGLE_TAP: |
| 408 | unregister_code16(KC_LPRN); | 411 | unregister_code16(KC_LPRN); |
| 412 | break; | ||
| 413 | default: | ||
| 414 | break; | ||
| 409 | } | 415 | } |
| 410 | } | 416 | } |
| 411 | 417 | ||
