Browse Source

Docs: Adjust dynamic macro docs to include more than the planck (#3509)

pjones-keymap
Evan Travers 11 months ago
parent
commit
6caea0acfb
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      docs/feature_dynamic_macros.md

+ 3
- 3
docs/feature_dynamic_macros.md View File

@@ -4,10 +4,10 @@ QMK supports temporary macros created on the fly. We call these Dynamic Macros.
4 4
 
5 5
 You 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
 
7
-To enable them, first add a new element to the `planck_keycodes` enum — `DYNAMIC_MACRO_RANGE`:
7
+To enable them, first add a new element to the end of your `keycodes` enum — `DYNAMIC_MACRO_RANGE`:
8 8
 
9 9
 ```c
10
-enum planck_keycodes {
10
+enum keycodes {
11 11
 	QWERTY = SAFE_RANGE,
12 12
 	COLEMAK,
13 13
 	DVORAK,
@@ -20,7 +20,7 @@ enum planck_keycodes {
20 20
 };
21 21
 ```
22 22
 
23
-It must be the last element because `dynamic_macros.h` will add some more keycodes after it.
23
+Your `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
 
25 25
 Below it, include the `dynamic_macro.h` header:
26 26
 

Loading…
Cancel
Save