summaryrefslogtreecommitdiffstats
path: root/users/kuchosauronad0
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-05-14 03:25:40 +1000
committerGitHub <noreply@github.com>2021-05-14 03:25:40 +1000
commit04ab5de73cbf342adb1ca551cca20fac9535abad (patch)
treea5caf91d02a3e6d6bfce4d6c6f779cf00f05af4b /users/kuchosauronad0
parentcae9eb4d8d911576fdd424e1b49f832ede26c2f5 (diff)
Deprecate `send_unicode_hex_string()` (#12602)
Diffstat (limited to 'users/kuchosauronad0')
-rw-r--r--users/kuchosauronad0/process_records.c16
-rw-r--r--users/kuchosauronad0/unicode.h2
2 files changed, 8 insertions, 10 deletions
diff --git a/users/kuchosauronad0/process_records.c b/users/kuchosauronad0/process_records.c
index bec6fa5ad0..5623c80f98 100644
--- a/users/kuchosauronad0/process_records.c
+++ b/users/kuchosauronad0/process_records.c
@@ -214,24 +214,24 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// Unicode
#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
diff --git a/users/kuchosauronad0/unicode.h b/users/kuchosauronad0/unicode.h
index cb550243ee..9ff523baad 100644
--- a/users/kuchosauronad0/unicode.h
+++ b/users/kuchosauronad0/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 {