Keymap introspection for combos. (#19670)

This commit is contained in:
Nick Brassel authored and GitHub committed 2023-05-15 22:27:37 +10:00
1 parent 433dc60686
commit 5faa23d54c
226 files changed
+533 -729

No files matched your search

@@ -20,6 +20,5 @@
#define TAPPING_TERM 200
#ifdef COMBO_ENABLE
# define COMBO_COUNT 10
# define COMBO_TERM 60
#endif
#endif
@@ -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),
};
@@ -20,6 +20,5 @@
#define TAPPING_TERM 200
#ifdef COMBO_ENABLE
# define COMBO_COUNT 10
# define COMBO_TERM 60
#endif
#endif
@@ -66,7 +66,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
const uint16_t PROGMEM combo_ent[] = {KC_K, KC_L, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
[COMBO_ENT] = COMBO(combo_ent,KC_ENT),
};
@@ -20,6 +20,5 @@
#define TAPPING_TERM 200
#ifdef COMBO_ENABLE
# define COMBO_COUNT 10
# define COMBO_TERM 200
#endif
#endif
@@ -68,7 +68,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
const uint16_t PROGMEM combo_slsh[] = {MT(MOD_RSFT, KC_DOT), KC_COMM, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
[COMBO_SLSH] = COMBO(combo_slsh,KC_SLSH),
};
@@ -20,6 +20,5 @@
#define TAPPING_TERM 200
#ifdef COMBO_ENABLE
# define COMBO_COUNT 10
# define COMBO_TERM 200
#endif
#endif
@@ -66,7 +66,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
const uint16_t PROGMEM combo_slsh[] = {MT(MOD_RSFT, KC_DOT), KC_COMM, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
[COMBO_SLSH] = COMBO(combo_slsh,KC_SLSH),
};