aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorjack <[email protected]>2023-12-07 17:51:30 -0700
committerjack <[email protected]>2023-12-07 17:51:30 -0700
commit941f66b20dbf3f9b8802df93892ad7dec8603f81 (patch)
tree3d293d75c9a637396fac0635c49f377daf6b3305 /util.h
parent481dea7b515a736aec803a48fd6287dd6fb3e652 (diff)
downloadzmk_build-941f66b20dbf3f9b8802df93892ad7dec8603f81.tar.gz
zmk_build-941f66b20dbf3f9b8802df93892ad7dec8603f81.zip
move util?
Diffstat (limited to 'util.h')
-rw-r--r--util.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/util.h b/util.h
deleted file mode 100644
index e8b33a9..0000000
--- a/util.h
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2022 jack (@waffle87)
-// SPDX-License-Identifier: MIT
-
-#define COMBO(name, keypress, keypos) \
-combo_##name { \
- timeout-ms = <50>; \
- bindings = <keypress>; \
- 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 HRML(k1,k2,k3,k4) &hm LALT k1 &hm LGUI k2 &hm LCTRL k3 &hm LSHFT k4
-#define HRMR(k1,k2,k3,k4) &hm RSHFT k1 &hm RCTRL k2 &hm RGUI k3 &hm RALT k4