aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorjack <[email protected]>2023-01-06 16:54:38 -0700
committerjack <[email protected]>2023-01-06 16:54:38 -0700
commit8581e9b41f1b403176fe3874f6cbb30b3acee6e5 (patch)
treeca72f6cfab038a3e8ed01c57e1ebb64dd08a58b9 /util.h
parent736812340fbb675f582747308ae347c382ada023 (diff)
downloadzmk_build-8581e9b41f1b403176fe3874f6cbb30b3acee6e5.tar.gz
zmk_build-8581e9b41f1b403176fe3874f6cbb30b3acee6e5.zip
misc
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 3cfbed8..9fd2a71 100644
--- a/util.h
+++ b/util.h
@@ -9,11 +9,11 @@ combo_##name { \
key-positions = <keypos>; \
};
-#define TAP_DANCE(name, keypress1, keypress2, hash) \
+#define TAP_DANCE(name, keypress1, keypress2) \
td_##name: name { \
compatible = "zmk,behavior-tap-dance"; \
label = "name"; \
- hash##binding-cells = <0>; \
+ #binding-cells = <0>; \
tapping-term-ms = <200>; \
bindings = <keypress1>, <keypress2>; \
};