diff options
| author | bjacques <bjacques@users.noreply.github.com> | 2018-04-21 08:43:36 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-04-21 00:43:36 -0700 |
| commit | e36d6bbbe3392b8e1e36157c070ed028dc8f5992 (patch) | |
| tree | 0ec1006cd01676bc18bbbdeb38f0fe533edb29f2 /docs | |
| parent | 14b2a35571b078effce2cbfa4030c613b31f4d49 (diff) | |
| download | qmk_firmware-e36d6bbbe3392b8e1e36157c070ed028dc8f5992.tar.gz qmk_firmware-e36d6bbbe3392b8e1e36157c070ed028dc8f5992.zip | |
Update feature_tap_dance.md (#2643)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_tap_dance.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_tap_dance.md b/docs/feature_tap_dance.md index e31e33167..0521826b2 100644 --- a/docs/feature_tap_dance.md +++ b/docs/feature_tap_dance.md | |||
| @@ -22,7 +22,7 @@ This array specifies what actions shall be taken when a tap-dance key is in acti | |||
| 22 | * `ACTION_TAP_DANCE_FN(fn)`: Calls the specified function - defined in the user keymap - with the final tap count of the tap dance action. | 22 | * `ACTION_TAP_DANCE_FN(fn)`: Calls the specified function - defined in the user keymap - with the final tap count of the tap dance action. |
| 23 | * `ACTION_TAP_DANCE_FN_ADVANCED(on_each_tap_fn, on_dance_finished_fn, on_dance_reset_fn)`: Calls the first specified function - defined in the user keymap - on every tap, the second function on when the dance action finishes (like the previous option), and the last function when the tap dance action resets. | 23 | * `ACTION_TAP_DANCE_FN_ADVANCED(on_each_tap_fn, on_dance_finished_fn, on_dance_reset_fn)`: Calls the first specified function - defined in the user keymap - on every tap, the second function on when the dance action finishes (like the previous option), and the last function when the tap dance action resets. |
| 24 | 24 | ||
| 25 | The first option is enough for a lot of cases, that just want dual roles. For example, `ACTION_TAP_DANCE(KC_SPC, KC_ENT)` will result in `Space` being sent on single-tap, `Enter` otherwise. | 25 | The first option is enough for a lot of cases, that just want dual roles. For example, `ACTION_TAP_DANCE_DOUBLE(KC_SPC, KC_ENT)` will result in `Space` being sent on single-tap, `Enter` otherwise. |
| 26 | 26 | ||
| 27 | And that's the bulk of it! | 27 | And that's the bulk of it! |
| 28 | 28 | ||
