diff options
Diffstat (limited to 'keyboards/planck/keymaps/rootiest')
-rw-r--r-- | keyboards/planck/keymaps/rootiest/config.h | 1 | ||||
-rw-r--r-- | keyboards/planck/keymaps/rootiest/keymap.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/rootiest/config.h b/keyboards/planck/keymaps/rootiest/config.h index 1cca7e5ba9..3d2d3f38a6 100644 --- a/keyboards/planck/keymaps/rootiest/config.h +++ b/keyboards/planck/keymaps/rootiest/config.h @@ -111,7 +111,6 @@ /* * COMBO-KEY options */ -#define COMBO_COUNT 2 #define COMBO_TERM 300 /* * MACRO per-key options diff --git a/keyboards/planck/keymaps/rootiest/keymap.c b/keyboards/planck/keymaps/rootiest/keymap.c index ce3b69ed1f..7e3b8af367 100644 --- a/keyboards/planck/keymaps/rootiest/keymap.c +++ b/keyboards/planck/keymaps/rootiest/keymap.c @@ -168,7 +168,7 @@ 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}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [ZC_COPY] = COMBO_ACTION(copy_combo), [XV_PASTE] = COMBO_ACTION(paste_combo), }; |