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/ymdk/melody96/keymaps/dvz/config.h | 1 - keyboards/ymdk/melody96/keymaps/dvz/keymap.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'keyboards/ymdk') diff --git a/keyboards/ymdk/melody96/keymaps/dvz/config.h b/keyboards/ymdk/melody96/keymaps/dvz/config.h index 9c834bdce1..380e11a3a1 100644 --- a/keyboards/ymdk/melody96/keymaps/dvz/config.h +++ b/keyboards/ymdk/melody96/keymaps/dvz/config.h @@ -16,7 +16,6 @@ #pragma once -#define COMBO_COUNT 4 #define COMBO_TERM 100 //#define UNICODE_SELECTED_MODES UNICODE_MODE_WINCOMPOSE diff --git a/keyboards/ymdk/melody96/keymaps/dvz/keymap.c b/keyboards/ymdk/melody96/keymaps/dvz/keymap.c index b0f01eead6..20d4d1e510 100644 --- a/keyboards/ymdk/melody96/keymaps/dvz/keymap.c +++ b/keyboards/ymdk/melody96/keymaps/dvz/keymap.c @@ -34,7 +34,7 @@ const uint16_t PROGMEM oe_combo[] = {KC_O, KC_E, COMBO_END}; const uint16_t PROGMEM ue_combo[] = {KC_U, KC_E, COMBO_END}; const uint16_t PROGMEM sz_combo[] = {KC_S, KC_Y, COMBO_END}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [UML_AE] = COMBO(ae_combo, KC_QUOT), [UML_OE] = COMBO(oe_combo, KC_SCLN), [UML_UE] = COMBO(ue_combo, KC_LBRC), -- cgit v1.2.3