mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
[Docs] Make Code Examples Consistent On Combo Page (#6078)
This commit is contained in:
parent
a63e2abc9c
commit
b2f7915994
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ enum combos {
|
||||||
AB_ESC,
|
AB_ESC,
|
||||||
JK_TAB
|
JK_TAB
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM ab_combo[] = {KC_A, KC_B, COMBO_END};
|
const uint16_t PROGMEM ab_combo[] = {KC_A, KC_B, COMBO_END};
|
||||||
const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, 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 {
|
enum combo_events {
|
||||||
ZC_COPY,
|
ZC_COPY,
|
||||||
XV_PASTE
|
XV_PASTE
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_C, COMBO_END};
|
const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_C, COMBO_END};
|
||||||
const uint16_t PROGMEM paste_combo[] = {KC_X, KC_V, COMBO_END};
|
const uint16_t PROGMEM paste_combo[] = {KC_X, KC_V, COMBO_END};
|
||||||
|
|
Loading…
Reference in a new issue