Skip to content

Commit

Permalink
fix(ximi): try unpressing shift before INV_EXCL
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Oct 30, 2024
1 parent 564d498 commit 1b857f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion behaviors/mod-morph.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ ZMK_MOD_MORPH(ques_iques,

// tap: exclamation mark | shift + tap: inverted exclamation mark
ZMK_MOD_MORPH(excl_iexcl,
bindings = <&kp EXCL>, <&kp INV_EXCL>;
bindings = <&kp EXCL>, <&INV_EXCL>;
mods = <(MOD_LSFT|MOD_RSFT)>;
)
2 changes: 1 addition & 1 deletion keymap-drawer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ parse_config:
"&KPT ACC_GR 4": "`",
"&KPT ACC_TR 4": "¨",
"&kp INV_QUEST": "¿",
"&kp INV_EXCL": "¡",
"&INV_EXCL": "¡",
"&OE_L 4": "Œ",
"&O_CI 4": "Ô",
"&O_TR 4": "Ö",
Expand Down
7 changes: 6 additions & 1 deletion layouts/canadian-multilingual-standard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#define ACC_TI RC(RBKT) // ~
#define ACC_TR LS(LBKT) // ¨
#define INV_QUEST RC(UNDER) // ¿
#define INV_EXCL RC(EXCL) // ¡

/* Fractions */
#define MATH_1_4 RC(N4) // ¼
Expand Down Expand Up @@ -98,6 +97,12 @@ ZMK_MACRO(I_CI_C, bindings = <&morph_i_circ>, <&to COL>;) // Î
ZMK_MACRO(E_CI_E, bindings = <&morph_e_circ>, <&to ERG>;) // Ê


// PUNCTUATION MACROS
ZMK_MACRO(INV_EXCL, bindings =
<&macro_release &kp RSHFT>,
<&kp RC(EXCL)>;
) // ¡

// ACCENTS MACROS

/* Accents without letter */
Expand Down

0 comments on commit 1b857f5

Please sign in to comment.