diff options
| author | Nick Brassel | 2023-05-15 14:27:37 +0200 |
|---|---|---|
| committer | GitHub | 2023-05-15 14:27:37 +0200 |
| commit | 5faa23d54ca1e3ab83097f2a07922f48800616e6 (patch) | |
| tree | 6ed05e5492f3fc8dda210a75b897dd9d4ed8df38 /keyboards/ashpil/modelm_usbc/keymaps | |
| parent | 433dc6068603e61d466e755aedcea0be96664f95 (diff) | |
Keymap introspection for combos. (#19670)
Diffstat (limited to 'keyboards/ashpil/modelm_usbc/keymaps')
| -rw-r--r-- | keyboards/ashpil/modelm_usbc/keymaps/ashpil/config.h | 1 | ||||
| -rw-r--r-- | keyboards/ashpil/modelm_usbc/keymaps/ashpil/keymap.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/ashpil/modelm_usbc/keymaps/ashpil/config.h b/keyboards/ashpil/modelm_usbc/keymaps/ashpil/config.h index d5cef677e8..59cec33010 100644 --- a/keyboards/ashpil/modelm_usbc/keymaps/ashpil/config.h +++ b/keyboards/ashpil/modelm_usbc/keymaps/ashpil/config.h @@ -20,5 +20,4 @@ /* Add combos */ -#define COMBO_COUNT 1 #define COMBO_TERM 200 diff --git a/keyboards/ashpil/modelm_usbc/keymaps/ashpil/keymap.c b/keyboards/ashpil/modelm_usbc/keymaps/ashpil/keymap.c index 3556aac483..e8df1f0c81 100644 --- a/keyboards/ashpil/modelm_usbc/keymaps/ashpil/keymap.c +++ b/keyboards/ashpil/modelm_usbc/keymaps/ashpil/keymap.c @@ -32,7 +32,7 @@ enum combo_events { const uint16_t PROGMEM reset_combo[] = {KC_LCTL, KC_PAUS, COMBO_END}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [CTRL_PAUS_RESET] = COMBO_ACTION(reset_combo), }; @@ -44,4 +44,4 @@ void process_combo_event(uint16_t combo_index, bool pressed) { } break; } -}
\ No newline at end of file +} |