diff options
| author | Daniel Gordon <daniel.gordon@here.com> | 2017-10-02 07:03:40 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-03 09:04:31 -1000 |
| commit | 03de0c85754673500f4cee91e915743477c0d6f0 (patch) | |
| tree | 7e7a3cfb14052dfad56778dde0116ddf3785e416 | |
| parent | 1cd336dde4dad00864cfef643c501e2a32704426 (diff) | |
| download | qmk_firmware-03de0c85754673500f4cee91e915743477c0d6f0.tar.gz qmk_firmware-03de0c85754673500f4cee91e915743477c0d6f0.zip | |
Reference to rules.mk in tap dance docs added
Change-Id: I64aa6f95a30ab05f0ed3f499e54b9e125d379fad
| -rw-r--r-- | docs/tap_dance.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tap_dance.md b/docs/tap_dance.md index 38b2ee999..442162765 100644 --- a/docs/tap_dance.md +++ b/docs/tap_dance.md | |||
| @@ -14,7 +14,7 @@ The implementation hooks into two parts of the system, to achieve this: into `pr | |||
| 14 | 14 | ||
| 15 | But lets start with how to use it, first! | 15 | But lets start with how to use it, first! |
| 16 | 16 | ||
| 17 | First, you will need `TAP_DANCE_ENABLE=yes` in your `Makefile`, because the feature is disabled by default. This adds a little less than 1k to the firmware size. Next, you will want to define some tap-dance keys, which is easiest to do with the `TD()` macro, that - similar to `F()`, takes a number, which will later be used as an index into the `tap_dance_actions` array. | 17 | First, you will need `TAP_DANCE_ENABLE=yes` in your `rules.mk`, because the feature is disabled by default. This adds a little less than 1k to the firmware size. Next, you will want to define some tap-dance keys, which is easiest to do with the `TD()` macro, that - similar to `F()`, takes a number, which will later be used as an index into the `tap_dance_actions` array. |
| 18 | 18 | ||
| 19 | This array specifies what actions shall be taken when a tap-dance key is in action. Currently, there are three possible options: | 19 | This array specifies what actions shall be taken when a tap-dance key is in action. Currently, there are three possible options: |
| 20 | 20 | ||
| @@ -42,7 +42,7 @@ For the sake of flexibility, tap-dance actions can be either a pair of keycodes, | |||
| 42 | 42 | ||
| 43 | Here's a simple example for a single definition: | 43 | Here's a simple example for a single definition: |
| 44 | 44 | ||
| 45 | 1. In your `makefile`, add `TAP_DANCE_ENABLE = yes` | 45 | 1. In your `rules.mk`, add `TAP_DANCE_ENABLE = yes` |
| 46 | 2. In your `config.h` (which you can copy from `qmk_firmware/keyboards/planck/config.h` to your keymap directory), add `#define TAPPING_TERM 200` | 46 | 2. In your `config.h` (which you can copy from `qmk_firmware/keyboards/planck/config.h` to your keymap directory), add `#define TAPPING_TERM 200` |
| 47 | 3. In your `keymap.c` file, define the variables and definitions, then add to your keymap: | 47 | 3. In your `keymap.c` file, define the variables and definitions, then add to your keymap: |
| 48 | 48 | ||
