Refactor combo definitions and update COMBO_COUNT handling

This commit is contained in:
Smathev 2025-10-07 10:29:52 +02:00
commit 4c48b15c8f
3 changed files with 6 additions and 5 deletions

View file

@ -40,4 +40,3 @@ combo_t key_combos[COMBO_COUNT] = {
}; };

View file

@ -2,5 +2,8 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
// Combo array declaration - COMBO_COUNT is automatically calculated by QMK // Define the number of combos
extern combo_t key_combos[]; #define COMBO_COUNT 17
// Combo array declaration
extern combo_t key_combos[COMBO_COUNT];

View file

@ -76,8 +76,7 @@
#define SPLIT_WPM_ENABLE #define SPLIT_WPM_ENABLE
#define SPLIT_MODS_ENABLE #define SPLIT_MODS_ENABLE
#define SPLIT_LAYER_STATE_ENABLE #define SPLIT_LAYER_STATE_ENABLE
// Smathev - define combos // Smathev - define combos (COMBO_COUNT is auto-calculated by QMK)
#define COMBO_COUNT 17
#define CASEMODES_ENABLE #define CASEMODES_ENABLE