Skip to content

Commit

Permalink
emojis maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
olgam4 committed May 23, 2024
1 parent 3bca5fa commit eb3fed6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/boards/shields/ponyta/ponyta.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &grave &tilde &none &none &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &none &none &none &none &none
&kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &none &none &none &none &y_heart
// ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯
&kp CAPS &sleep &none &none &sl FRA &none
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand All @@ -205,11 +205,11 @@
francais {
bindings = <
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&fr_a_circumflex &none &none &none &none &none &fr_u_circumflex &fr_e_circumflex &none &none
&fr_a_circumflex &none &none &none &none &none &fr_u_circumflex &fr_e_circumflex &fr_i_circumflex &fr_o_circumflex
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&fr_a_grave &none &none &sk LSHFT &none &none &fr_u_grave &fr_e_grave &fr_i_diaeresis &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none &none &fr_c_cedilla &none &none &none &none &fr_e_acute &none &none
&none &none &fr_c_cedilla &none &none &none &none &fr_e_acute &fr_e_diaeresis &fr_oe
// ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯
&none &none &none &none &none &none
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand Down
4 changes: 4 additions & 0 deletions config/boards/shields/ponyta/unicode-chars/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@
UC_MACRO(name ## _lower, &kp L0 &kp L1 &kp L2 &kp L3) \
UC_MACRO(name ## _upper, &kp U0 &kp U1 &kp U2 &kp U3) \
UC_MODMORPH(name, &name ## _lower, &name ## _upper)

#define ZMK_UNICODE_HEX(name, L0, L1, L2, L3, L4, L5, L6, L7) \
UC_MACRO(name ## _lower, &kp L0 &kp L1 &kp L2 &kp L3 &kp L4 &kp L5 &kp L6 &kp L7) \
UC_MODMORPH(name, &name ## _lower, &none)
3 changes: 3 additions & 0 deletions config/boards/shields/ponyta/unicode-chars/symbols.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
ZMK_UNICODE_SINGLE(tilde, N0, N0, N7, E)
ZMK_UNICODE_SINGLE(grave, N0, N0, N6, N0)
ZMK_UNICODE_SINGLE(at , N0, N0, N4, N0)
ZMK_UNICODE_SINGLE(at , N0, N0, N4, N0)

ZMK_UNICODE_EMOJI(y_heart , D, N8, N3, D, D, C, N9, B)

0 comments on commit eb3fed6

Please sign in to comment.