zmk_build

ZMK code & build repository
git clone https://git.pngu.org/zmk_build
Log | Files | Refs | Submodules | README

commit 13c01de1c552ba43111b5f200a2bdbeeac2e2dbf
parent 91f06cb2d39edfe51cec3e8f77bc839daf64a4cb
Author: Jack Sangdahl <jack@pngu.org>
Date:   Mon, 29 Dec 2025 16:04:54 -0700

Add some more macros

Diffstat:
Mconfig/flake.keymap | 6+++---
Mconfig/util.h | 10++++++++++
2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/config/flake.keymap b/config/flake.keymap @@ -19,15 +19,15 @@ 1 { bindings = < &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 - &trans &trans &trans &trans &kp TAB &kp LEFT DOWN UP RIGHT CAPS - &kp C_VOL_DN &trans &trans &trans &trans &trans &trans &trans &trans &kp C_VOL_UP + &trans &trans &updir &recall &kp TAB &kp LEFT HRMR(DOWN UP RIGHT CAPS) + &kp C_VOL_DN &kp C_PP &trans &trans &trans &trans &trans &trans &trans &kp C_VOL_UP &trans &trans &trans &trans &trans &trans &mo 3 &trans &trans &trans >; }; 2 { bindings = < &kp GRAVE &leq &geq &td_min_dash &kp PIPE &kp CARET &kp LBRC &kp RBRC &kp DLLR &kp BSLH - &kp EXCL &kp STAR &kp FSLH &kp EQUAL &kp AMPS &kp HASH &kp LPAR &kp RPAR &kp SQT &kp DQT + &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/util.h b/config/util.h @@ -60,6 +60,16 @@ td_##name: name { \ #binding-cells = <0>; bindings = <&macro_tap &kp GT &kp EQUAL>; }; + pl_asgn: pl_asgn { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&macro_tap &kp PLUS &kp EQUAL>; + }; + recall: recall { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <&macro_tap &kp DLLR &kp UNDER>; + }; dbl_min: dbl_min { compatible = "zmk,behavior-macro"; #binding-cells = <0>;