aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gboards/g/keymap_combo.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gboards/g/keymap_combo.h')
-rw-r--r--keyboards/gboards/g/keymap_combo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/gboards/g/keymap_combo.h b/keyboards/gboards/g/keymap_combo.h
index 58e99863e..b92b6a4bc 100644
--- a/keyboards/gboards/g/keymap_combo.h
+++ b/keyboards/gboards/g/keymap_combo.h
@@ -28,7 +28,10 @@
28#define TOGG A_ENUM 28#define TOGG A_ENUM
29enum combos { 29enum combos {
30#include "combos.def" 30#include "combos.def"
31 COMBO_LENGTH
31}; 32};
33// Export length to combo module
34uint16_t COMBO_LEN = COMBO_LENGTH;
32 35
33// Bake combos into mem 36// Bake combos into mem
34#undef COMB 37#undef COMB
@@ -53,9 +56,6 @@ combo_t key_combos[] = {
53#undef SUBS 56#undef SUBS
54#undef TOGG 57#undef TOGG
55 58
56// Export length to combo module
57int COMBO_LEN = sizeof(key_combos) / sizeof(key_combos[0]);
58
59// Fill QMK hook 59// Fill QMK hook
60#define COMB BLANK 60#define COMB BLANK
61#define SUBS A_ACTI 61#define SUBS A_ACTI