diff options
author | Alex Mayer <amayer5125@gmail.com> | 2019-06-05 14:18:20 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-05 11:18:20 -0700 |
commit | b2f7915994eb514a0348fdb864ead04c54c509c7 (patch) | |
tree | 2f55fa117db7601b35d2338a4ebed170068086e9 /docs/feature_combo.md | |
parent | a63e2abc9c1fc945997380db926ec2cdd0fd1034 (diff) | |
download | qmk_firmware-b2f7915994eb514a0348fdb864ead04c54c509c7.tar.gz qmk_firmware-b2f7915994eb514a0348fdb864ead04c54c509c7.zip |
[Docs] Make Code Examples Consistent On Combo Page (#6078)
Diffstat (limited to 'docs/feature_combo.md')
-rw-r--r-- | docs/feature_combo.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/feature_combo.md b/docs/feature_combo.md index 680adce2dc..4cb1bcda08 100644 --- a/docs/feature_combo.md +++ b/docs/feature_combo.md @@ -29,6 +29,7 @@ enum combos { AB_ESC, JK_TAB }; + const uint16_t PROGMEM ab_combo[] = {KC_A, KC_B, COMBO_END}; const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END}; @@ -44,7 +45,7 @@ For a more complicated implementation, you can use the `process_combo_event` fun enum combo_events { ZC_COPY, XV_PASTE - }; +}; const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_C, COMBO_END}; const uint16_t PROGMEM paste_combo[] = {KC_X, KC_V, COMBO_END}; |