diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-12 20:54:37 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-12 20:54:37 -0500 |
commit | 33e62c080c9161a0fc921c90ed299a67fc2e1799 (patch) | |
tree | 253ea910d8f2ba464ab28709f5f93d09b27c05fd /quantum/process_keycode/process_unicode.h | |
parent | a889b899e2cf52b3b7807d8a7ad39f12e0761a10 (diff) | |
parent | 631b8999a737ec73610f8b569b1f775cadf08172 (diff) | |
download | qmk_firmware-33e62c080c9161a0fc921c90ed299a67fc2e1799.tar.gz qmk_firmware-33e62c080c9161a0fc921c90ed299a67fc2e1799.zip |
merging
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 |