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/maxr1998/pulse4k/config.h | 1 - keyboards/maxr1998/pulse4k/keymaps/default/keymap.c | 2 +- keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/maxr1998') diff --git a/keyboards/maxr1998/pulse4k/config.h b/keyboards/maxr1998/pulse4k/config.h index 5da4e44855..0b552acfda 100644 --- a/keyboards/maxr1998/pulse4k/config.h +++ b/keyboards/maxr1998/pulse4k/config.h @@ -18,7 +18,6 @@ #pragma once /* Combo setup */ -#define COMBO_COUNT 1 #define COMBO_TERM 150 /* RGB LED Setup */ diff --git a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c index 243a96ba74..b190159f24 100644 --- a/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c +++ b/keyboards/maxr1998/pulse4k/keymaps/default/keymap.c @@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [LED_ADJUST] = COMBO_ACTION(led_adjust_combo) }; diff --git a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c index 2aad1fa346..3f1dfbee3f 100644 --- a/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c +++ b/keyboards/maxr1998/pulse4k/keymaps/maxr1998/keymap.c @@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [LED_ADJUST] = COMBO_ACTION(led_adjust_combo) }; -- cgit v1.2.3