Skip to content

Commit

Permalink
trying a triple tap macro
Browse files Browse the repository at this point in the history
  • Loading branch information
t4corun committed Aug 24, 2023
1 parent 3167100 commit 04b4e2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions config/user/general.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@

#define M2(key1, key2) &m2 key1 key2
#define HT2(tapkey) &ht2 0 tapkey
#define MTT(tripletapkey) &mtt tripletapkey

&sk {
release-after-ms = <STICKYKEY_TIMEOUT>;
Expand Down
10 changes: 6 additions & 4 deletions config/user/macro.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ macros {
, <&macro_tap &kp MACRO_PLACEHOLDER>;
)


ZMK_BEHAVIOR(mdt, macro_one_param,
*/
ZMK_BEHAVIOR(mtt, macro_one_param,
wait-ms = <MACRO_WAIT_TERM>;
tap-ms = <MACRO_TAP_TERM>;
bindings = <&macro_param_1to1 &macro_tap &kp MACRO_PLACEHOLDER>;
)*/
bindings = <&macro_param_1to1 &kp MACRO_PLACEHOLDER>
, <&macro_param_1to1 &kp MACRO_PLACEHOLDER>
, <&macro_param_1to1 &kp MACRO_PLACEHOLDER>;
)


ZMK_BEHAVIOR(test, macro,
Expand Down

0 comments on commit 04b4e2b

Please sign in to comment.