summaryrefslogtreecommitdiff
path: root/users/arkag
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/arkag
parentcae9eb4d8d911576fdd424e1b49f832ede26c2f5 (diff)
downloadqmk_firmware-04ab5de73cbf342adb1ca551cca20fac9535abad.tar.gz
qmk_firmware-04ab5de73cbf342adb1ca551cca20fac9535abad.zip
Deprecate `send_unicode_hex_string()` (#12602)
Diffstat (limited to 'users/arkag')
-rw-r--r--users/arkag/arkag.c26
1 files changed, 10 insertions, 16 deletions
diff --git a/users/arkag/arkag.c b/users/arkag/arkag.c
index 564c234c39..ea716ecdab 100644
--- a/users/arkag/arkag.c
+++ b/users/arkag/arkag.c
@@ -363,7 +363,7 @@ void matrix_scan_user(void) {
surround_type(4, KC_GRAVE, true);
}
SEQ_ONE_KEY(KC_C) {
- send_unicode_hex_string("00E7");
+ register_unicode(0x00E7); // ç
}
SEQ_TWO_KEYS(KC_A, KC_V) {
surround_type(2, KC_QUOT, true);
@@ -384,10 +384,10 @@ void matrix_scan_user(void) {
surround_type(6, KC_GRAVE, false);
}
SEQ_ONE_KEY(KC_E) {
- send_unicode_hex_string("00E8");
+ register_unicode(0x00E8); // è
}
SEQ_TWO_KEYS(KC_E, KC_E) {
- send_unicode_hex_string("00E9");
+ register_unicode(0x00E9); // é
}
// end format functions
@@ -407,8 +407,7 @@ void matrix_scan_user(void) {
// start typing functions
SEQ_TWO_KEYS(KC_T, KC_M) {
- // ™
- send_unicode_hex_string("2122");
+ register_unicode(0x2122); // ™
}
SEQ_TWO_KEYS(KC_D, KC_D) {
SEND_STRING(".\\Administrator");
@@ -420,27 +419,22 @@ void matrix_scan_user(void) {
tap_code(KC_ENTER);
}
SEQ_THREE_KEYS(KC_L, KC_O, KC_D) {
- // ಠ__ಠ
- send_unicode_hex_string("0CA0 005F 005F 0CA0");
+ send_unicode_string("ಠ__ಠ");
}
SEQ_THREE_KEYS(KC_M, KC_A, KC_P) {
SEND_STRING("https://github.com/qmk/qmk_firmware/tree/master/users/arkag");
}
SEQ_TWO_KEYS(KC_F, KC_F) {
- // (╯‵Д′)╯彡┻━┻
- send_unicode_hex_string("0028 256F 2035 0414 2032 0029 256F 5F61 253B 2501 253B");
+ send_unicode_string("(╯‵Д′)╯彡┻━┻");
}
SEQ_THREE_KEYS(KC_F, KC_F, KC_F) {
- // ┬─┬ノ( º _ º ノ)
- send_unicode_hex_string("252C 2500 252C 30CE 0028 0020 00BA 0020 005F 0020 00BA 0020 30CE 0029");
+ send_unicode_string("┬─┬ノ( º _ º ノ)");
}
SEQ_THREE_KEYS(KC_L, KC_O, KC_L) {
- // ( ͡° ͜ʖ ͡°)
- send_unicode_hex_string("0028 0020 0361 00B0 0020 035C 0296 0020 0361 00B0 0029");
+ send_unicode_string("( ͡° ͜ʖ ͡°)");
}
SEQ_THREE_KEYS(KC_S, KC_S, KC_S) {
- // ¯\_(ツ)_/¯
- send_unicode_hex_string("00AF 005C 005F 0028 30C4 0029 005F 002F 00AF");
+ send_unicode_string("¯\\_(ツ)_/¯");
}
// end typing functions
@@ -513,7 +507,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case M_DASH:
if (record->event.pressed){
- send_unicode_hex_string("2014");
+ register_unicode(0x2014); // —
}
return false;
case M_LMHYP: