Skip to content

Commit

Permalink
try to fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoDM committed Nov 29, 2024
1 parent 5e6be06 commit a127216
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions boards/shields/swweeep/swweeep.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,28 @@
flavor = "balanced";
bindings = <&kp>, <&kp>;
};
sqm: macro {
};

macro {
sqm: macro_sqm {
label = "SQM";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp SQT>; // Single Quote (')
#binding-cells = <2>;
bindings = <&kp SQT>,<&kp SPACE>; // Single Quote (')
};

dqm: macro {
dqm: macro_dqm {
label = "DQM";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp DQT>; // Double Quote (")
#binding-cells = <2>;
bindings = <&kp DQT>,<&kp SPACE>; // Double Quote (")
};

bm: macro {
bm: macro_bm {
label = "BM";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp GRAVE>; // Backtick (`)
#binding-cells = <2>;
bindings = <&kp GRAVE>,<&kp SPACE>; // Backtick (`)
};
};

Expand Down

0 comments on commit a127216

Please sign in to comment.