diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-09-21 11:22:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-21 11:22:27 -0700 |
| commit | f069e9fc09859baf03d940b6db47e95c50a24936 (patch) | |
| tree | 429cd294d22c0a9af6965af68f047e9482fc0cef /quantum/process_keycode/process_tap_dance.c | |
| parent | 63a0b1241d204873cd5156a959e913c602b0c386 (diff) | |
| download | qmk_firmware-f069e9fc09859baf03d940b6db47e95c50a24936.tar.gz qmk_firmware-f069e9fc09859baf03d940b6db47e95c50a24936.zip | |
Generalize Tap Dance Layer functions (#6629)
* made tapdance dual_role general
* updated original dual_role functionality
* added toggling layer example
* Fix dual role and add alias
* Update docs about new layer tap dances
* Fix up based on feedback
Diffstat (limited to 'quantum/process_keycode/process_tap_dance.c')
| -rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c index c27fe4834..16756e59c 100644 --- a/quantum/process_keycode/process_tap_dance.c +++ b/quantum/process_keycode/process_tap_dance.c | |||
| @@ -71,7 +71,7 @@ void qk_tap_dance_dual_role_finished(qk_tap_dance_state_t *state, void *user_dat | |||
| 71 | if (state->count == 1) { | 71 | if (state->count == 1) { |
| 72 | register_code16(pair->kc); | 72 | register_code16(pair->kc); |
| 73 | } else if (state->count == 2) { | 73 | } else if (state->count == 2) { |
| 74 | layer_move(pair->layer); | 74 | pair->layer_function(pair->layer); |
| 75 | } | 75 | } |
| 76 | } | 76 | } |
| 77 | 77 | ||
