1
0
Fork 0

Keymap introspection for combos. (#19670)

This commit is contained in:
Nick Brassel 2023-05-15 22:27:37 +10:00 committed by GitHub
parent 433dc60686
commit 5faa23d54c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
226 changed files with 533 additions and 729 deletions

View file

@ -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