From f393b66ad3b2d5236952018aeb305efc1845822e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 24 Mar 2024 16:12:14 +0100 Subject: [PATCH] skeletyl, sweep: fix dia-combo syntax --- .../bastardkb/skeletyl/keymaps/quotengrote/keymap.c | 9 ++++----- keyboards/ferris/keymaps/quotengrote/keymap.c | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index d40241e20c..035c77139c 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -57,7 +57,6 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { return false; } - // combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md enum combos { C_KA, @@ -74,8 +73,8 @@ const uint16_t PROGMEM ka_combo[] = {LALT_T(KC_R), LSFT_T(KC_T), COMBO_END} const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), LALT_T(KC_I), COMBO_END}; const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END}; const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END}; -const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; -const uint16_t PROGMEM dia_combo[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END}; +const uint16_t PROGMEM dia_combo1[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; +const uint16_t PROGMEM dia_combo2[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END}; const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END}; const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END}; @@ -84,8 +83,8 @@ combo_t key_combos[] = { [C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))), [C_ESC] = COMBO(esc_combo, KC_ESC), [C_MED] = COMBO(med_combo, MO(4)), - [C_DIA_T] = COMBO(dia_combo, OSL(5)), - [C_DIA_S] = COMBO(dia_combo, OSL(5)), + [C_DIA_T] = COMBO(dia_combo1, OSL(5)), + [C_DIA_S] = COMBO(dia_combo2, OSL(5)), [C_SV] = COMBO(sv_combo, LCTL(KC_S)), [C_WE] = COMBO(we_combo, LGUI(KC_E)), }; diff --git a/keyboards/ferris/keymaps/quotengrote/keymap.c b/keyboards/ferris/keymaps/quotengrote/keymap.c index bd68b3e5eb..0035b23588 100644 --- a/keyboards/ferris/keymaps/quotengrote/keymap.c +++ b/keyboards/ferris/keymaps/quotengrote/keymap.c @@ -17,8 +17,8 @@ const uint16_t PROGMEM ka_combo[] = {LALT_T(KC_R), LSFT_T(KC_T), COMBO_END} const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), LALT_T(KC_I), COMBO_END}; const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END}; const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END}; -const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; -const uint16_t PROGMEM dia_combo[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END}; +const uint16_t PROGMEM dia_combo1[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; +const uint16_t PROGMEM dia_combo2[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END}; const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END}; const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END}; @@ -27,8 +27,8 @@ combo_t key_combos[] = { [C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))), [C_ESC] = COMBO(esc_combo, KC_ESC), [C_MED] = COMBO(med_combo, MO(4)), - [C_DIA_T] = COMBO(dia_combo, OSL(5)), - [C_DIA_S] = COMBO(dia_combo, OSL(5)), + [C_DIA_T] = COMBO(dia_combo1, OSL(5)), + [C_DIA_S] = COMBO(dia_combo2, OSL(5)), [C_SV] = COMBO(sv_combo, LCTL(KC_S)), [C_WE] = COMBO(we_combo, LGUI(KC_E)), };