Refactor combo definitions and update COMBO_COUNT handling
This commit is contained in:
parent
379e203b38
commit
4c48b15c8f
3 changed files with 6 additions and 5 deletions
|
|
@ -40,4 +40,3 @@ combo_t key_combos[COMBO_COUNT] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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];
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue