diff options
author | Nick Brassel <nick@tzarc.org> | 2023-05-15 22:27:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 22:27:37 +1000 |
commit | 5faa23d54ca1e3ab83097f2a07922f48800616e6 (patch) | |
tree | 6ed05e5492f3fc8dda210a75b897dd9d4ed8df38 /keyboards/program_yoink/ortho/keymaps/default | |
parent | 433dc6068603e61d466e755aedcea0be96664f95 (diff) |
Keymap introspection for combos. (#19670)
Diffstat (limited to 'keyboards/program_yoink/ortho/keymaps/default')
-rw-r--r-- | keyboards/program_yoink/ortho/keymaps/default/config.h | 3 | ||||
-rw-r--r-- | keyboards/program_yoink/ortho/keymaps/default/keymap.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/program_yoink/ortho/keymaps/default/config.h b/keyboards/program_yoink/ortho/keymaps/default/config.h index ea7075aecb..eb4161b940 100644 --- a/keyboards/program_yoink/ortho/keymaps/default/config.h +++ b/keyboards/program_yoink/ortho/keymaps/default/config.h @@ -20,6 +20,5 @@ #define TAPPING_TERM 200 #ifdef COMBO_ENABLE -# define COMBO_COUNT 10 # define COMBO_TERM 60 -#endif
\ No newline at end of file +#endif diff --git a/keyboards/program_yoink/ortho/keymaps/default/keymap.c b/keyboards/program_yoink/ortho/keymaps/default/keymap.c index 6719a38b0a..35f58efc4f 100644 --- a/keyboards/program_yoink/ortho/keymaps/default/keymap.c +++ b/keyboards/program_yoink/ortho/keymaps/default/keymap.c @@ -66,7 +66,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { const uint16_t PROGMEM combo_ent[] = {KC_DOT, KC_SLSH, COMBO_END}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [COMBO_ENT] = COMBO(combo_ent,KC_ENT), }; |