aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util.h b/util.h
index 9fd2a71..75da5eb 100644
--- a/util.h
+++ b/util.h
@@ -9,13 +9,13 @@ combo_##name { \
key-positions = <keypos>; \
};
-#define TAP_DANCE(name, keypress1, keypress2) \
-td_##name: name { \
- compatible = "zmk,behavior-tap-dance"; \
- label = "name"; \
- #binding-cells = <0>; \
- tapping-term-ms = <200>; \
- bindings = <keypress1>, <keypress2>; \
+#define TAP_DANCE(name, keypress1, keypress2) \
+td_##name: name { \
+ compatible = "zmk,behavior-tap-dance"; \
+ label = ###name; \
+ #binding-cells = <0>; \
+ tapping-term-ms = <200>; \
+ bindings = <keypress1>, <keypress2>; \
};
#define HRML(k1,k2,k3,k4) &hm LALT k1 &hm LGUI k2 &hm LCTRL k3 &hm LSHFT k4