Browse Source

Merge remote-tracking branch 'origin/master' into develop

pull/15590/head
QMK Bot 2 years ago
parent
commit
dfe5fe7181
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docs/feature_macros.md

+ 2
- 0
docs/feature_macros.md View File

@ -144,6 +144,8 @@ If yes, we send the string `"QMK is the best thing ever!"` to the computer via t
We return `true` to indicate to the caller that the key press we just processed should continue to be processed as normal (as we didn't replace or alter the functionality).
Finally, we define the keymap so that the first button activates our macro and the second button is just an escape button.
?>It is recommended to use the SAFE_RANGE macro as per [Customizing Functionality](custom_quantum_functions.md).
You might want to add more than one macro.
You can do that by adding another keycode and adding another case to the switch statement, like so:


Loading…
Cancel
Save