Keymap introspection for combos. (#19670)
This commit is contained in:
@@ -27,7 +27,7 @@ const uint16_t PROGMEM sd_combo[] = {KC_S, KC_D, COMBO_END}; // Combo: S + D fo
|
||||
const uint16_t PROGMEM kl_combo[] = {KC_K, KC_L, COMBO_END}; // Combo: K + L for Meh modifier
|
||||
|
||||
// Register the combo action
|
||||
combo_t key_combos[COMBO_COUNT] = {
|
||||
combo_t key_combos[] = {
|
||||
[SD_LAYER_COMBO] = COMBO_ACTION(sd_combo),
|
||||
[KL_MEH_COMBO] = COMBO_ACTION(kl_combo),
|
||||
};
|
||||
|
@@ -20,5 +20,4 @@
|
||||
|
||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY // Allows configuration of hold on other key press per key in keymap.c
|
||||
|
||||
#define COMBO_COUNT 2 // Number of defined combos
|
||||
#define COMBO_TERM 20 // Delay for combo keys to be chained together
|
||||
|
Reference in New Issue
Block a user