mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-11-03 10:20:07 -05:00
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
|
||||
|
||||
// Combo array declaration - COMBO_COUNT is automatically calculated by QMK
|
||||
extern combo_t key_combos[];
|
||||
// Define the number of 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_MODS_ENABLE
|
||||
#define SPLIT_LAYER_STATE_ENABLE
|
||||
// Smathev - define combos
|
||||
#define COMBO_COUNT 17
|
||||
// Smathev - define combos (COMBO_COUNT is auto-calculated by QMK)
|
||||
|
||||
#define CASEMODES_ENABLE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue