summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-01-03 17:08:10 +0000
committerQMK Bot <hello@qmk.fm>2022-01-03 17:08:10 +0000
commit1f1d2ffd29faf90b2a899fec71fc09f7a09481dd (patch)
treefd9cc63183c837fc3243e6f216a00d775a5f91bf /docs
parent0a3452f307897aeebff7823fff0fd9f5b0e051a1 (diff)
parenta88dc08643af76e19eff72dbd9b2a0cefea3f23f (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_macros.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md
index 4368853569..f39c1a40e8 100644
--- a/docs/feature_macros.md
+++ b/docs/feature_macros.md
@@ -193,6 +193,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
```
+?> An enumerated list of custom keycodes (`enum custom_keycodes`) must be declared before `keymaps[]` array, `process_record_user()` and any other function that use the list for the compiler to recognise it.
+
#### Advanced Macros
In addition to the `process_record_user()` function, is the `post_process_record_user()` function. This runs after `process_record` and can be used to do things after a keystroke has been sent. This is useful if you want to have a key pressed before and released after a normal key, for instance.