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
226 changed files with 533 additions and 729 deletions

View File

@@ -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),
};

View File

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

View File

@@ -24,7 +24,6 @@
#define TAPPING_TERM 100
#define COMBO_TERM 20
#define COMBO_COUNT 1
#define PERMISSIVE_HOLD