diff options
author | Priyadi Iman Nurcahyo <[email protected]> | 2016-10-10 00:46:20 +0700 |
---|---|---|
committer | Priyadi Iman Nurcahyo <[email protected]> | 2016-10-10 00:56:09 +0700 |
commit | 5b2e455d3b71bfb90754930d1f22d3e8ce98b927 (patch) | |
tree | f9c5e7f6920aa860407df4850dca7ee515a4be74 /quantum/keymap.h | |
parent | a9df99b81c787862dc3fa11bd854fe39e704da81 (diff) | |
download | qmk_firmware-5b2e455d3b71bfb90754930d1f22d3e8ce98b927.tar.gz qmk_firmware-5b2e455d3b71bfb90754930d1f22d3e8ce98b927.zip |
Unicode map framework. Allow unicode up to 0xFFFFF using separate
mapping table
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r-- | quantum/keymap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h index 98ddfd0c53..0daa001204 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h @@ -84,6 +84,10 @@ enum quantum_keycodes { QK_MOD_TAP_MAX = 0x6FFF, QK_TAP_DANCE = 0x7100, QK_TAP_DANCE_MAX = 0x71FF, +#ifdef UNICODEMAP_ENABLE + QK_UNICODE_MAP = 0x7800, + QK_UNICODE_MAP_MAX = 0x7FFF, +#endif #ifdef UNICODE_ENABLE QK_UNICODE = 0x8000, QK_UNICODE_MAX = 0xFFFF, @@ -335,5 +339,8 @@ enum quantum_keycodes { #define UC(n) UNICODE(n) #endif +#ifdef UNICODEMAP_ENABLE + #define X(n) (n | QK_UNICODE_MAP) +#endif #endif |