commit a9a7fd4ec81e1c3acb6de53aa5aa583df1f8ce40
parent 0188b57d82ead1b76852c03ddd38bba6c1d2712c
Author: Jack Sangdahl <jack@pngu.org>
Date: Sun, 8 Feb 2026 13:27:35 -0700
Remove some unused functionalities, add zmk-helpers submodule
Diffstat:
7 files changed, 9 insertions(+), 25 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "zmk-helpers"]
+ path = zmk-helpers
+ url = https://github.com/urob/zmk-helpers.git
diff --git a/config/blecorne.keymap b/config/blecorne.keymap
@@ -30,7 +30,7 @@
};
2 {
bindings = <
- &kp GRAVE &leq &geq &td_min_dash &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
+ &kp GRAVE &leq &geq &kp MINUS &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
&kp EXCL &kp STAR &pl_asgn &kp EQUAL &kp AMPS &kp HASH HRMR(LPAR, RPAR, SQT, DQT)
&kp TILDE &kp PLUS &kp LBKT &kp RBKT &kp PRCNT &kp AT &kp COLON &trans &trans &trans
&trans &trans &trans &trans &trans &trans
diff --git a/config/flake.keymap b/config/flake.keymap
@@ -26,7 +26,7 @@
};
2 {
bindings = <
- &kp GRAVE &leq &geq &td_min_dash &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
+ &kp GRAVE &leq &geq &kp MINUS &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
&kp EXCL &kp STAR &pl_asgn &kp EQUAL &kp AMPS &kp HASH HRMR(LPAR, RPAR, SQT, DQT)
&kp TILDE &kp PLUS &kp LBKT &kp RBKT &kp PRCNT &kp AT &kp COLON &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
diff --git a/config/revxlp.keymap b/config/revxlp.keymap
@@ -26,7 +26,7 @@
};
2 {
bindings = <
- &kp GRAVE &leq &geq &td_min_dash &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
+ &kp GRAVE &leq &geq &kp MINUS &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH
&kp EXCL &kp STAR &pl_asgn &kp EQUAL &kp AMPS &kp HASH HRMR(LPAR, RPAR, SQT, DQT)
&kp TILDE &kp PLUS &kp LBKT &kp RBKT &kp PRCNT &kp AT &kp COLON &trans &trans &trans
&trans &trans &trans &trans &trans &trans
diff --git a/config/util.h b/config/util.h
@@ -9,14 +9,6 @@ combo_##name { \
key-positions = <keypos>; \
};
-#define TAP_DANCE(name, kp1, kp2, kp3) \
-td_##name: name { \
- compatible = "zmk,behavior-tap-dance"; \
- #binding-cells = <0>; \
- tapping-term-ms = <200>; \
- bindings = <kp1>, <kp2>, <kp3>; \
-};
-
#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
@@ -41,7 +33,6 @@ td_##name: name { \
tapping-term-ms = <210>;
bindings = <&kp C_PLAY>, <&kp C_NEXT>, <&kp C_PREV>;
};
- TAP_DANCE(min_dash, &kp MINUS, &dbl_min, &emdash)
};
macros {
@@ -70,19 +61,6 @@ td_##name: name { \
#binding-cells = <0>;
bindings = <¯o_tap &kp DLLR &kp UNDER>;
};
- dbl_min: dbl_min {
- compatible = "zmk,behavior-macro";
- #binding-cells = <0>;
- bindings = <¯o_tap &kp MINUS &kp MINUS>;
- };
- emdash: emdash {
- compatible = "zmk,behavior-macro";
- #binding-cells = <0>;
- bindings = <¯o_press &kp LSHFT &kp LCTRL>,
- <¯o_tap &kp U &kp N2 &kp N0 &kp N1 &kp N4>,
- <¯o_release &kp LSHFT &kp LCTRL>,
- <¯o_tap &kp SPACE &kp SPACE>;
- };
};
};
// clang-format on
diff --git a/config/zmk-helpers b/config/zmk-helpers
@@ -0,0 +1 @@
+zmk-helpers/include/zmk-helpers
+\ No newline at end of file
diff --git a/zmk-helpers b/zmk-helpers
@@ -0,0 +1 @@
+Subproject commit 859bf060ea7c17f552f8da59fc2677de5e3f5531