summaryrefslogtreecommitdiff
path: root/users/pcoves/unicode.c
diff options
context:
space:
mode:
authorpcoves <33952527+pcoves@users.noreply.github.com>2020-07-08 22:57:11 +0200
committerGitHub <noreply@github.com>2020-07-08 21:57:11 +0100
commitfacca2331519d5d56a926f93f0cdf925fe0857da (patch)
tree575913db2ecb5a78eeb22acabd69825f54d31b0d /users/pcoves/unicode.c
parent071e0c2029e7923cbaa6ff721365b2f61cdd08d8 (diff)
downloadqmk_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.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/users/pcoves/unicode.c b/users/pcoves/unicode.c
new file mode 100644
index 0000000000..966a9d3852
--- /dev/null
+++ b/users/pcoves/unicode.c
@@ -0,0 +1,20 @@
+#include "unicode.h"
+#include "pcoves.h"
+
+bool process_record_unicode(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case EMOTE0:
+ if (record->event.pressed) send_unicode_string("(╯°□°)╯︵┻━┻");
+ return false;
+ case EMOTE1:
+ if (record->event.pressed) send_unicode_string("(ヘ・_・)ヘ┳━┳");
+ return false;
+ case EMOTE2:
+ if (record->event.pressed) send_unicode_string("¯\\_(ツ)_/¯");
+ return false;
+ case EMOTE3:
+ if (record->event.pressed) send_unicode_string("ಠ_ಠ");
+ return false;
+ }
+ return true;
+}