diff options
| -rw-r--r-- | quantum/process_keycode/process_unicode.c | 5 | ||||
| -rw-r--r-- | quantum/process_keycode/process_unicode.h | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_unicode.c b/quantum/process_keycode/process_unicode.c index 37dd471ff..2a991cb39 100644 --- a/quantum/process_keycode/process_unicode.c +++ b/quantum/process_keycode/process_unicode.c | |||
| @@ -42,6 +42,11 @@ void unicode_input_start (void) { | |||
| 42 | register_code(KC_PPLS); | 42 | register_code(KC_PPLS); |
| 43 | unregister_code(KC_PPLS); | 43 | unregister_code(KC_PPLS); |
| 44 | break; | 44 | break; |
| 45 | case UC_WINC: | ||
| 46 | register_code(KC_RALT); | ||
| 47 | unregister_code(KC_RALT); | ||
| 48 | register_code(KC_U); | ||
| 49 | unregister_code(KC_U); | ||
| 45 | } | 50 | } |
| 46 | wait_ms(UNICODE_TYPE_DELAY); | 51 | wait_ms(UNICODE_TYPE_DELAY); |
| 47 | } | 52 | } |
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h index a6c7e4584..065eeb5f6 100644 --- a/quantum/process_keycode/process_unicode.h +++ b/quantum/process_keycode/process_unicode.h | |||
| @@ -3,10 +3,11 @@ | |||
| 3 | 3 | ||
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #define UC_OSX 0 | 6 | #define UC_OSX 0 // Mac OS X |
| 7 | #define UC_LNX 1 | 7 | #define UC_LNX 1 // Linux |
| 8 | #define UC_WIN 2 | 8 | #define UC_WIN 2 // Windows 'HexNumpad' |
| 9 | #define UC_BSD 3 | 9 | #define UC_BSD 3 // BSD (not implemented) |
| 10 | #define UC_WINC 4 // WinCompose https://github.com/samhocevar/wincompose | ||
| 10 | 11 | ||
| 11 | #ifndef UNICODE_TYPE_DELAY | 12 | #ifndef UNICODE_TYPE_DELAY |
| 12 | #define UNICODE_TYPE_DELAY 10 | 13 | #define UNICODE_TYPE_DELAY 10 |
