diff options
Diffstat (limited to 'quantum/process_keycode/process_unicode.h')
| -rw-r--r-- | quantum/process_keycode/process_unicode.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h index 27f8072ee..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 |
| @@ -20,6 +21,10 @@ void register_hex(uint16_t hex); | |||
| 20 | 21 | ||
| 21 | bool process_unicode(uint16_t keycode, keyrecord_t *record); | 22 | bool process_unicode(uint16_t keycode, keyrecord_t *record); |
| 22 | 23 | ||
| 24 | #ifdef UNICODEMAP_ENABLE | ||
| 25 | bool process_unicode_map(uint16_t keycode, keyrecord_t *record); | ||
| 26 | #endif | ||
| 27 | |||
| 23 | #ifdef UCIS_ENABLE | 28 | #ifdef UCIS_ENABLE |
| 24 | #ifndef UCIS_MAX_SYMBOL_LENGTH | 29 | #ifndef UCIS_MAX_SYMBOL_LENGTH |
| 25 | #define UCIS_MAX_SYMBOL_LENGTH 32 | 30 | #define UCIS_MAX_SYMBOL_LENGTH 32 |
