summaryrefslogtreecommitdiff
path: root/users/muppetjones
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-05-15 22:27:37 +1000
committerGitHub <noreply@github.com>2023-05-15 22:27:37 +1000
commit5faa23d54ca1e3ab83097f2a07922f48800616e6 (patch)
tree6ed05e5492f3fc8dda210a75b897dd9d4ed8df38 /users/muppetjones
parent433dc6068603e61d466e755aedcea0be96664f95 (diff)
Keymap introspection for combos. (#19670)
Diffstat (limited to 'users/muppetjones')
-rw-r--r--users/muppetjones/config.h2
-rw-r--r--users/muppetjones/features/combos.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/users/muppetjones/config.h b/users/muppetjones/config.h
index cbc318d24f..742a97950d 100644
--- a/users/muppetjones/config.h
+++ b/users/muppetjones/config.h
@@ -35,6 +35,4 @@
#endif
-
-#define COMBO_COUNT 3
#define COMBO_TERM 40
diff --git a/users/muppetjones/features/combos.c b/users/muppetjones/features/combos.c
index a6d14bb25c..a357b3ad4e 100644
--- a/users/muppetjones/features/combos.c
+++ b/users/muppetjones/features/combos.c
@@ -27,8 +27,7 @@ const uint16_t PROGMEM h_comm_tab[] = {KC_H, KC_COMM, COMBO_END};
const uint16_t PROGMEM l_u_scln[] = {KC_L, KC_U, COMBO_END};
const uint16_t PROGMEM j_m_caps[] = {KC_J, KC_M, COMBO_END};
-// COMBO_COUNT defined in config.h
-combo_t key_combos[COMBO_COUNT] = {
+combo_t key_combos[] = {
[H_COMM_TAB] = COMBO(h_comm_tab, KC_TAB),
[L_U_SCLN] = COMBO(l_u_scln, KC_SCLN),
[J_M_CAPS] = COMBO(j_m_caps, KC_CAPS),