Keymap introspection for combos. (#19670)
This commit is contained in:
parent
433dc60686
commit
5faa23d54c
226 changed files with 533 additions and 729 deletions
|
@ -19,16 +19,14 @@
|
|||
#define CB(name, action, ...) C_##name,
|
||||
enum user_combos {
|
||||
#include "combos.def"
|
||||
COMBO_LENGTH
|
||||
};
|
||||
#undef CB
|
||||
uint16_t COMBO_LEN = COMBO_LENGTH;
|
||||
|
||||
#define CB(name, action, ...) const uint16_t PROGMEM name##_combo[] = {__VA_ARGS__, COMBO_END};
|
||||
#include "combos.def"
|
||||
#undef CB
|
||||
|
||||
combo_t key_combos[COMBO_LENGTH] = {
|
||||
combo_t key_combos[] = {
|
||||
#define CB(name, action, ...) COMBO(name##_combo, action),
|
||||
#include "combos.def"
|
||||
#undef CB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue