aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Travers <evantravers@gmail.com>2018-07-29 10:59:39 -0500
committerDrashna Jaelre <drashna@live.com>2018-07-29 08:59:39 -0700
commit6caea0acfb2e6b3ad350e9d1a4fd6863f5877041 (patch)
tree4db21dd70743ee200bcd144f433774bdd6ed3a52
parent64f1ad00a72f234b57ffd05c033339b0737294ef (diff)
downloadqmk_firmware-6caea0acfb2e6b3ad350e9d1a4fd6863f5877041.tar.gz
qmk_firmware-6caea0acfb2e6b3ad350e9d1a4fd6863f5877041.zip
Docs: Adjust dynamic macro docs to include more than the planck (#3509)
-rw-r--r--docs/feature_dynamic_macros.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/feature_dynamic_macros.md b/docs/feature_dynamic_macros.md
index 9803557e9..0d11a2864 100644
--- a/docs/feature_dynamic_macros.md
+++ b/docs/feature_dynamic_macros.md
@@ -4,10 +4,10 @@ QMK supports temporary macros created on the fly. We call these Dynamic Macros.
4 4
5You can store one or two macros and they may have a combined total of 128 keypresses. You can increase this size at the cost of RAM. 5You can store one or two macros and they may have a combined total of 128 keypresses. You can increase this size at the cost of RAM.
6 6
7To enable them, first add a new element to the `planck_keycodes` enum — `DYNAMIC_MACRO_RANGE`: 7To enable them, first add a new element to the end of your `keycodes` enum — `DYNAMIC_MACRO_RANGE`:
8 8
9```c 9```c
10enum planck_keycodes { 10enum keycodes {
11 QWERTY = SAFE_RANGE, 11 QWERTY = SAFE_RANGE,
12 COLEMAK, 12 COLEMAK,
13 DVORAK, 13 DVORAK,
@@ -20,7 +20,7 @@ enum planck_keycodes {
20}; 20};
21``` 21```
22 22
23It must be the last element because `dynamic_macros.h` will add some more keycodes after it. 23Your `keycodes` enum may have a slightly different name. You must add `DYNAMIC_MACRO_RANGE` as the last element because `dynamic_macros.h` will add some more keycodes after it.
24 24
25Below it, include the `dynamic_macro.h` header: 25Below it, include the `dynamic_macro.h` header:
26 26