Browse Source
changed type of process_combo_event argument in tutorial (#10621)
in tutorial for combos feature, changed type of compo_index argument of process_combo_event form uint8_t to uint16_t
pull/10627/head
Jan-Frederick Musiol
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/feature_combo.md
|
|
@ -55,7 +55,7 @@ combo_t key_combos[COMBO_COUNT] = { |
|
|
|
[XV_PASTE] = COMBO_ACTION(paste_combo), |
|
|
|
}; |
|
|
|
|
|
|
|
void process_combo_event(uint8_t combo_index, bool pressed) { |
|
|
|
void process_combo_event(uint16_t combo_index, bool pressed) { |
|
|
|
switch(combo_index) { |
|
|
|
case ZC_COPY: |
|
|
|
if (pressed) { |
|
|
|