diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2021-12-27 11:07:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 14:07:00 +1100 |
commit | b384599663bc45b3aa27c5f83e70bbf6be42d9ea (patch) | |
tree | 2c100c84e6363c20ecbac22d52c06d5d8d59c219 /docs | |
parent | 76f94a4275ca1d6417c85c9ad173ae61247f0d19 (diff) |
Link Macro example for COMBO_ACTION documentation (#15164)
* Link Macro example for COMBO_ACTION documentation
* Restructure
Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_combo.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_combo.md b/docs/feature_combo.md index 0e7ebd6c3b..47128c431b 100644 --- a/docs/feature_combo.md +++ b/docs/feature_combo.md @@ -100,7 +100,7 @@ void process_combo_event(uint16_t combo_index, bool pressed) { This will send "john.doe@example.com" if you chord E and M together, and clear the current line with Backspace and Left-Shift. You could change this to do stuff like play sounds or change settings. -It is worth noting that `COMBO_ACTION`s are not needed anymore. As of [PR#8591](https://github.com/qmk/qmk_firmware/pull/8591/), it is possible to run your own custom keycodes from combos. Just define the custom keycode, program its functionality in `process_record_user`, and define a combo with `COMBO(<key_array>, <your_custom_keycode>)`. +It is worth noting that `COMBO_ACTION`s are not needed anymore. As of [PR#8591](https://github.com/qmk/qmk_firmware/pull/8591/), it is possible to run your own custom keycodes from combos. Just define the custom keycode, program its functionality in `process_record_user`, and define a combo with `COMBO(<key_array>, <your_custom_keycode>)`. See the first example in [Macros](feature_macros.md). ## Keycodes You can enable, disable and toggle the Combo feature on the fly. This is useful if you need to disable them temporarily, such as for a game. The following keycodes are available for use in your `keymap.c` |