From af40bbd98e5cdcce19f5d9462bc03b147c9d9b4d Mon Sep 17 00:00:00 2001 From: drashna Date: Mon, 3 Jan 2022 17:09:30 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=20a88dc08643af76e19eff72dbd9b2a0cefea3f23f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_macros.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feature_macros.md b/feature_macros.md index 4368853569..f39c1a40e8 100644 --- a/feature_macros.md +++ b/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.