diff options
Diffstat (limited to 'src/keymaps/soispha/keymap.c')
-rw-r--r-- | src/keymaps/soispha/keymap.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/keymaps/soispha/keymap.c b/src/keymaps/soispha/keymap.c index 9391212..2b6c16f 100644 --- a/src/keymaps/soispha/keymap.c +++ b/src/keymaps/soispha/keymap.c @@ -13,6 +13,9 @@ #include "layout/layout.h" #include "macros.h" #include "version.h" +#include <stdbool.h> +#include <stdint.h> +#include "hid/hid.h" bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { @@ -21,6 +24,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION " (rev: " QMK_GIT_HASH ")"); } + return false; break; case ST_MACRO_0: if (record->event.pressed) { @@ -77,6 +81,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return false; } + + if (keycode >= UK_UNICODE && keycode <= UK_UNICODE_MAX) { + hid_send(QK_UNICODE_GET_CODE_POINT(keycode)); + } + return true; } |