diff options
| author | pcoves <33952527+pcoves@users.noreply.github.com> | 2020-07-08 22:57:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 21:57:11 +0100 |
| commit | facca2331519d5d56a926f93f0cdf925fe0857da (patch) | |
| tree | 575913db2ecb5a78eeb22acabd69825f54d31b0d /users/pcoves/unicode.c | |
| parent | 071e0c2029e7923cbaa6ff721365b2f61cdd08d8 (diff) | |
| download | qmk_firmware-facca2331519d5d56a926f93f0cdf925fe0857da.tar.gz qmk_firmware-facca2331519d5d56a926f93f0cdf925fe0857da.zip | |
Add pcoves's userspace (#9354)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Pablo COVES <pablo.coves@anatoscope.com>
Diffstat (limited to 'users/pcoves/unicode.c')
| -rw-r--r-- | users/pcoves/unicode.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/users/pcoves/unicode.c b/users/pcoves/unicode.c new file mode 100644 index 000000000..966a9d385 --- /dev/null +++ b/users/pcoves/unicode.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #include "unicode.h" | ||
| 2 | #include "pcoves.h" | ||
| 3 | |||
| 4 | bool process_record_unicode(uint16_t keycode, keyrecord_t *record) { | ||
| 5 | switch (keycode) { | ||
| 6 | case EMOTE0: | ||
| 7 | if (record->event.pressed) send_unicode_string("(╯°□°)╯︵┻━┻"); | ||
| 8 | return false; | ||
| 9 | case EMOTE1: | ||
| 10 | if (record->event.pressed) send_unicode_string("(ヘ・_・)ヘ┳━┳"); | ||
| 11 | return false; | ||
| 12 | case EMOTE2: | ||
| 13 | if (record->event.pressed) send_unicode_string("¯\\_(ツ)_/¯"); | ||
| 14 | return false; | ||
| 15 | case EMOTE3: | ||
| 16 | if (record->event.pressed) send_unicode_string("ಠ_ಠ"); | ||
| 17 | return false; | ||
| 18 | } | ||
| 19 | return true; | ||
| 20 | } | ||
