diff options
author | Ryan <fauxpark@gmail.com> | 2021-05-14 03:25:40 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 03:25:40 +1000 |
commit | 04ab5de73cbf342adb1ca551cca20fac9535abad (patch) | |
tree | a5caf91d02a3e6d6bfce4d6c6f779cf00f05af4b /users/yet-another-developer | |
parent | cae9eb4d8d911576fdd424e1b49f832ede26c2f5 (diff) |
Deprecate `send_unicode_hex_string()` (#12602)
Diffstat (limited to 'users/yet-another-developer')
-rw-r--r-- | users/yet-another-developer/process_records.c | 16 | ||||
-rw-r--r-- | users/yet-another-developer/unicode.h | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/users/yet-another-developer/process_records.c b/users/yet-another-developer/process_records.c index c7dbd704a0..7dba702bf5 100644 --- a/users/yet-another-developer/process_records.c +++ b/users/yet-another-developer/process_records.c @@ -162,24 +162,24 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } break; #ifdef UNICODE_ENABLE - case UC_FLIP: // (ノಠ痊ಠ)ノ彡┻━┻ + case UC_FLIP: if (record->event.pressed) { - send_unicode_hex_string("0028 30CE 0CA0 75CA 0CA0 0029 30CE 5F61 253B 2501 253B"); + send_unicode_string("(ノಠ痊ಠ)ノ彡┻━┻"); } break; - case UC_TABL: // ┬─┬ノ( º _ ºノ) + case UC_TABL: if (record->event.pressed) { - send_unicode_hex_string("252C 2500 252C 30CE 0028 0020 00BA 0020 005F 0020 00BA 30CE 0029"); + send_unicode_string("┬─┬ノ( º _ ºノ)"); } break; - case UC_SHRG: // ¯\_(ツ)_/¯ + case UC_SHRG: if (record->event.pressed) { - send_unicode_hex_string("00AF 005C 005F 0028 30C4 0029 005F 002F 00AF"); + send_unicode_string("¯\\_(ツ)_/¯"); } break; - case UC_DISA: // ಠ_ಠ + case UC_DISA: if (record->event.pressed) { - send_unicode_hex_string("0CA0 005F 0CA0"); + send_unicode_string("ಠ_ಠ"); } break; #endif // UNICODE_ENABLE diff --git a/users/yet-another-developer/unicode.h b/users/yet-another-developer/unicode.h index cb550243ee..9ff523baad 100644 --- a/users/yet-another-developer/unicode.h +++ b/users/yet-another-developer/unicode.h @@ -2,8 +2,6 @@ #include "quantum.h" -void send_unicode_hex_string(const char* str); - /* use X(n) to call the */ #ifdef UNICODEMAP_ENABLE enum unicode_name { |