Skip to content

Commit

Permalink
debug: try mod-morph for accented shifted character
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Aug 4, 2024
1 parent 51569b4 commit ffcbddf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/urchin.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ZMK_LAYER(ColeAcc,
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&A_GR COL &CIRC E COL &E_CU COL &hrmeg SL COL XXX XXX &hrmic SL COL &O_CI COL &U_CI COL &KPD ACC_GR COL
// ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤
&A_CI COL XXX &CEDIL COL XXX XXX XXX XXX XXX &U_GR COL &KPD ACC_CI COL
&A_CI COL XXX &CEDIL COL XXX XXX XXX XXX XXX &MA u_gr COL &KPD ACC_CI COL
// ╰───────────┴───────────┴───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┴────────────┴────────────╯
___ &to COL ___ ___
// ╰────────────┴────────────╯ ╰───────────┴─────────────╯
Expand Down
14 changes: 13 additions & 1 deletion layouts/canadian-multilingual-standard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,20 @@ ZMK_MACRO_ONE_PARAM(TREMA, bindings =
// ` to input
ZMK_MACRO_TWO_PARAM(AGRA, bindings =
<&kp RA(LBKT)>,
<&macro_param_1to1>,
<&macro_param_2to1>,
<&macro_tap &kp MACRO_PLACEHOLDER>,
<&macro_param_1to1>,
<&macro_tap &kp MACRO_PLACEHOLDER>;
)

ZMK_MOD_MORPH(u_gr,
bindings = <&AGRA U 0>, <&AGRA U SHIFT>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)

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

0 comments on commit ffcbddf

Please sign in to comment.