From eb3fed6b721c47c7e12f8f973291bf9fe97f3e30 Mon Sep 17 00:00:00 2001 From: Olivier Gamache Date: Thu, 23 May 2024 12:37:50 -0400 Subject: [PATCH] emojis maybe --- config/boards/shields/ponyta/ponyta.keymap | 6 +++--- config/boards/shields/ponyta/unicode-chars/base.h | 4 ++++ config/boards/shields/ponyta/unicode-chars/symbols.dtsi | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config/boards/shields/ponyta/ponyta.keymap b/config/boards/shields/ponyta/ponyta.keymap index c1cef6f..6f66129 100644 --- a/config/boards/shields/ponyta/ponyta.keymap +++ b/config/boards/shields/ponyta/ponyta.keymap @@ -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 // ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯ @@ -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 // ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯ diff --git a/config/boards/shields/ponyta/unicode-chars/base.h b/config/boards/shields/ponyta/unicode-chars/base.h index a5f5839..520e0c4 100644 --- a/config/boards/shields/ponyta/unicode-chars/base.h +++ b/config/boards/shields/ponyta/unicode-chars/base.h @@ -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) diff --git a/config/boards/shields/ponyta/unicode-chars/symbols.dtsi b/config/boards/shields/ponyta/unicode-chars/symbols.dtsi index 33db3a7..6908789 100644 --- a/config/boards/shields/ponyta/unicode-chars/symbols.dtsi +++ b/config/boards/shields/ponyta/unicode-chars/symbols.dtsi @@ -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)