From: Evan Travers Date: Sun, 29 Jul 2018 15:59:39 +0000 (-0500) Subject: Docs: Adjust dynamic macro docs to include more than the planck (#3509) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6caea0acfb2e6b3ad350e9d1a4fd6863f5877041;p=qmk_firmware.git Docs: Adjust dynamic macro docs to include more than the planck (#3509) --- 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. 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. -To enable them, first add a new element to the `planck_keycodes` enum — `DYNAMIC_MACRO_RANGE`: +To enable them, first add a new element to the end of your `keycodes` enum — `DYNAMIC_MACRO_RANGE`: ```c -enum planck_keycodes { +enum keycodes { QWERTY = SAFE_RANGE, COLEMAK, DVORAK, @@ -20,7 +20,7 @@ enum planck_keycodes { }; ``` -It must be the last element because `dynamic_macros.h` will add some more keycodes after it. +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. Below it, include the `dynamic_macro.h` header: