diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/arkag/arkag.c | 26 | ||||
-rw-r--r-- | users/curry/process_records.c | 16 | ||||
-rw-r--r-- | users/d4mation/macros.c | 28 | ||||
-rw-r--r-- | users/gordon/rules.mk | 2 | ||||
-rw-r--r-- | users/kuchosauronad0/process_records.c | 16 | ||||
-rw-r--r-- | users/kuchosauronad0/unicode.h | 2 | ||||
-rw-r--r-- | users/ridingqwerty/process_records.c | 54 | ||||
-rw-r--r-- | users/rs/rs.h | 4 | ||||
-rw-r--r-- | users/yet-another-developer/process_records.c | 16 | ||||
-rw-r--r-- | users/yet-another-developer/unicode.h | 2 |
10 files changed, 76 insertions, 90 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: diff --git a/users/curry/process_records.c b/users/curry/process_records.c index fd58ea181b..3b5c001926 100644 --- a/users/curry/process_records.c +++ b/users/curry/process_records.c @@ -46,24 +46,24 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } break; #if defined(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 diff --git a/users/d4mation/macros.c b/users/d4mation/macros.c index 3c115d7ead..a8ca119b12 100644 --- a/users/d4mation/macros.c +++ b/users/d4mation/macros.c @@ -45,75 +45,75 @@ bool process_record_user( uint16_t keycode, keyrecord_t *record ) { #ifdef UNICODE_ENABLE - case AMENO: /* ༼ つ ◕_◕ ༽つ */ + case AMENO: if ( record->event.pressed ) { - send_unicode_hex_string( "0F3C 0020 3064 0020 25D5 005F 25D5 0020 0F3D 3064" ); + send_unicode_string( "༼ つ ◕_◕ ༽つ" ); } return false; break; - case MAGIC: /* (∩ ͡° ͜ʖ ͡°)⊃━☆゚. * */ + case MAGIC: if ( record->event.pressed ) { - send_unicode_hex_string( "0028 2229 0020 0361 00B0 0020 035C 0296 0020 0361 00B0 0029 2283 2501 2606 FF9F 002E 0020 002A" ); + send_unicode_string( "(∩ ͡° ͜ʖ ͡°)⊃━☆゚. *" ); } return false; break; - case LENNY: /* ( ͡° ͜ʖ ͡°) */ + case LENNY: if ( record->event.pressed ) { - send_unicode_hex_string( "0028 0020 0361 00B0 0020 035C 0296 0020 0361 00b0 0029" ); + send_unicode_string( "( ͡° ͜ʖ ͡°)" ); } return false; break; - case DISFACE: /* ಠ_ಠ */ + case DISFACE: if ( record->event.pressed ) { - send_unicode_hex_string( "0CA0 005F 0CA0" ); + send_unicode_string( "ಠ_ಠ" ); } return false; break; - case TFLIP: /* (╯°□°)╯ ︵ ┻━┻ */ + case TFLIP: if ( record->event.pressed ) { - send_unicode_hex_string( "0028 256F 00b0 25A1 00B0 0029 256F FE35 253B 2501 253B" ); + send_unicode_string( "(╯°□°)╯︵┻━┻" ); } return false; break; - case TPUT: /* ┬──┬ ノ( ゜-゜ノ) */ + case TPUT: if ( record->event.pressed ) { - send_unicode_hex_string( "252C 2500 2500 252C 0020 30CE 0028 0020 309C 002D 309C 30CE 0029" ); + send_unicode_string( "┬──┬ ノ( ゜-゜ノ)" ); } return false; break; - case SHRUG: /* ¯\_(ツ)_/¯ */ + case SHRUG: if ( record->event.pressed ) { - send_unicode_hex_string( "00AF 005C 005F 0028 30C4 0029 005F 002F 00AF" ); + send_unicode_string( "¯\\_(ツ)_/¯" ); } diff --git a/users/gordon/rules.mk b/users/gordon/rules.mk index 19e77b01b1..06e671a635 100644 --- a/users/gordon/rules.mk +++ b/users/gordon/rules.mk @@ -1,4 +1,4 @@ TAP_DANCE_ENABLE = yes SRC += gordon.c -# BOOTMAGIC_ENABLE = yes +# BOOTMAGIC_ENABLE = full 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 { diff --git a/users/ridingqwerty/process_records.c b/users/ridingqwerty/process_records.c index b0b0b48a22..770af286e9 100644 --- a/users/ridingqwerty/process_records.c +++ b/users/ridingqwerty/process_records.c @@ -58,14 +58,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { #if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) case KC_A: if (record->event.pressed) { - send_unicode_hex_string("039B"); - tap_code(KC_SPC); + send_unicode_string("Λ "); } return false; case KC_E: if (record->event.pressed) { - send_unicode_hex_string("039E"); - tap_code(KC_SPC); + send_unicode_string("Ξ "); } return false; #else @@ -175,154 +173,154 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { // TRANSLATE case KC_A: if (record->event.pressed) { - send_unicode_hex_string("0250"); + register_unicode(0x0250); // ɐ tap_code(KC_LEFT); return false; } break; case KC_C: if (record->event.pressed) { - send_unicode_hex_string("0254"); + register_unicode(0x0254); // ɔ tap_code(KC_LEFT); return false; } break; case KC_E: if (record->event.pressed) { - send_unicode_hex_string("01DD"); + register_unicode(0x01DD); // ǝ tap_code(KC_LEFT); return false; } break; case KC_F: if (record->event.pressed) { - send_unicode_hex_string("025F"); + register_unicode(0x025F); // ɟ tap_code(KC_LEFT); return false; } break; case KC_G: if (record->event.pressed) { - send_unicode_hex_string("0183"); + register_unicode(0x0183); // ƃ tap_code(KC_LEFT); return false; } break; case KC_H: if (record->event.pressed) { - send_unicode_hex_string("0265"); + register_unicode(0x0265); // ɥ tap_code(KC_LEFT); return false; } break; case KC_I: if (record->event.pressed) { - send_unicode_hex_string("1D09"); + register_unicode(0x1D09); // ᴉ tap_code(KC_LEFT); return false; } break; case KC_J: if (record->event.pressed) { - send_unicode_hex_string("027E"); + register_unicode(0x027E); // ɾ tap_code(KC_LEFT); return false; } break; case KC_K: if (record->event.pressed) { - send_unicode_hex_string("029E"); + register_unicode(0x029E); // ʞ tap_code(KC_LEFT); return false; } break; case KC_M: if (record->event.pressed) { - send_unicode_hex_string("026F"); + register_unicode(0x026F); // ɯ tap_code(KC_LEFT); return false; } break; case KC_R: if (record->event.pressed) { - send_unicode_hex_string("0279"); + register_unicode(0x0279); // ɹ tap_code(KC_LEFT); return false; } break; case KC_T: if (record->event.pressed) { - send_unicode_hex_string("0287"); + register_unicode(0x0287); // ʇ tap_code(KC_LEFT); return false; } break; case KC_V: if (record->event.pressed) { - send_unicode_hex_string("028C"); + register_unicode(0x028C); // ʌ tap_code(KC_LEFT); return false; } break; case KC_W: if (record->event.pressed) { - send_unicode_hex_string("028D"); + register_unicode(0x028D); // ʍ tap_code(KC_LEFT); return false; } break; case KC_X: if (record->event.pressed) { - send_unicode_hex_string("2717"); + register_unicode(0x2717); // ✗ tap_code(KC_LEFT); return false; } break; case KC_Y: if (record->event.pressed) { - send_unicode_hex_string("028E"); + register_unicode(0x028E); // ʎ tap_code(KC_LEFT); return false; } break; case KC_1: if (record->event.pressed) { - send_unicode_hex_string("0269"); + register_unicode(0x0269); // ɩ tap_code(KC_LEFT); return false; } break; case KC_2: if (record->event.pressed) { - send_unicode_hex_string("3139"); + register_unicode(0x3139); // ㄹ tap_code(KC_LEFT); return false; } break; case KC_3: if (record->event.pressed) { - send_unicode_hex_string("0190"); + register_unicode(0x0190); // Ɛ tap_code(KC_LEFT); return false; } break; case KC_4: if (record->event.pressed) { - send_unicode_hex_string("3123"); + register_unicode(0x3123); // ㄣ tap_code(KC_LEFT); return false; } break; case KC_5: if (record->event.pressed) { - send_unicode_hex_string("03DB"); + register_unicode(0x03DB); // ϛ tap_code(KC_LEFT); return false; } break; case KC_7: if (record->event.pressed) { - send_unicode_hex_string("3125"); + register_unicode(0x3125); // ㄥ tap_code(KC_LEFT); } return false; @@ -401,7 +399,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { user_mod_state = get_mods() & MOD_MASK_ALT; if (user_mod_state) { unregister_mods(MOD_BIT(KC_RALT)); - send_unicode_hex_string("00B0"); + register_unicode(0x00B0); // ° set_mods(user_mod_state); return false; } @@ -474,7 +472,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed && record->event.key.col == 4 && record->event.key.row == 1) { if (get_mods() & MOD_BIT(KC_RALT)) { unregister_mods(MOD_BIT(KC_RALT)); - //send_unicode_hex_string("262D"); + //register_unicode(0x262D); // ☭ tap_code(KC_BSPC); set_mods(MOD_BIT(KC_RALT)); return false; diff --git a/users/rs/rs.h b/users/rs/rs.h index 722d6ed19e..fde8c33558 100644 --- a/users/rs/rs.h +++ b/users/rs/rs.h @@ -18,8 +18,6 @@ enum custom_keycodes { #endif }; -#define KC_ KC_TRNS - #define KC_ESCC MT(MOD_LCTL, KC_ESC) #define KC_ENTS MT(MOD_LSFT, KC_ENT) #define KC_LTGT LTGT // > or < with shift @@ -47,4 +45,4 @@ enum custom_keycodes { #define KC_LVAI RGB_VAI #define KC_LVAD RGB_VAD #define KC_LMOD RGB_MOD -#endif
\ No newline at end of file +#endif 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 { |