From 5faa23d54ca1e3ab83097f2a07922f48800616e6 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 15 May 2023 22:27:37 +1000 Subject: Keymap introspection for combos. (#19670) --- keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h | 2 -- keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'keyboards/maple_computing/minidox/keymaps/rsthd_combos') diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h index 98f8d6b071..a7d11feca5 100644 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h +++ b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h @@ -2,6 +2,4 @@ #define EE_HANDS - -#define COMBO_COUNT 10 #define COMBO_TERM 100 diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c index e795e76207..33bfc7340e 100644 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c +++ b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c @@ -32,7 +32,7 @@ const uint16_t PROGMEM kz_combo[] = {KC_K, KC_Z, COMBO_END}; const uint16_t PROGMEM dm_combo[] = {KC_D, KC_M, COMBO_END}; const uint16_t PROGMEM bx_combo[] = {KC_B, KC_X, COMBO_END}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [TOP_L] = COMBO(fk_combo, KC_ESC), [TOP_R] = COMBO(zl_combo, KC_AT), [MID_L] = COMBO(hd_combo, KC_TAB), -- cgit v1.2.3