Skip to content

Commit

Permalink
debug: pass macro ref as const
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Aug 4, 2024
1 parent 419df11 commit 9d0e626
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layouts/canadian-multilingual-standard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#undef CONFIG_ZMK_MACRO_DEFAULT_TAP_MS
#define CONFIG_ZMK_MACRO_DEFAULT_TAP_MS 40

#define u_gr &u_gr

/* Canadian Multilingual Standard Mappings */

#define SLSH GRAVE // /
Expand Down Expand Up @@ -78,13 +80,13 @@ ZMK_MACRO_TWO_PARAM(AGRA, bindings =
)

ZMK_MOD_MORPH(u_gr,
bindings = <&kp SAPOS>, <&kp DAPOS>;
bindings = <&kp u>, <&kp U>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)

ZMK_MACRO_TWO_PARAM(MA, bindings =
<&macro_param_1to1>,
<&MACRO_PLACEHOLDER>,
<MACRO_PLACEHOLDER>,
<&macro_param_2to1>,
<&to MACRO_PLACEHOLDER>;
)
Expand Down

0 comments on commit 9d0e626

Please sign in to comment.