Skip to content

Commit

Permalink
ugrave with short unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffDess committed Sep 28, 2023
1 parent 50d40bb commit 6cf4b7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions zmk-nodefree-config/helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,7 @@
UC_MACRO(name ## _upper, &kp U0 &kp U1 &kp U2 &kp U3) \
UC_MODMORPH(name, &name ## _lower, &name ## _upper)

#define ZMK_UNICODE_SHORTPAIR(name, L0, L1, U0, U1) \
UC_MACRO(name##_lower, &kp L0 &kp L1) \
UC_MACRO(name##_upper, &kp U0 &kp U1) \
UC_MODMORPH(name, &name##_lower, &name##_upper)
2 changes: 1 addition & 1 deletion zmk-nodefree-config/international_chars/french.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ZMK_UNICODE_PAIR(fr_e_di, N0, N0, E, B, N0, N0, C, B) // ë/Ë
ZMK_UNICODE_PAIR(fr_i_cf, N0, N0, E, E, N0, N0, C, E) // î/Î
ZMK_UNICODE_PAIR(fr_i_di, N0, N0, E, F, N0, N0, C, F) // ï/Ï
ZMK_UNICODE_PAIR(fr_o_cf, N0, N0, F, N4, N0, N0, D, N4) // ô/Ô
ZMK_UNICODE_PAIR(fr_u_gr, N0, N0, F, N9, N0, N0, D, N9) // ù/Ù
ZMK_UNICODE_SHORTPAIR(fr_u_gr, F, N9, D, N9) // ù/Ù
ZMK_UNICODE_PAIR(fr_u_cf, N0, N0, F, B, N0, N0, D, B) // û/Û
ZMK_UNICODE_PAIR(fr_u_di, N0, N0, F, C, N0, N0, D, C) // ü/Ü
ZMK_UNICODE_PAIR(fr_y_di, N0, N0, F, F, N0, N1, N7, N8) // ÿ/Ÿ
Expand Down

0 comments on commit 6cf4b7b

Please sign in to comment.