forked from mirrors/qmk_userspace
Merge pull request #815 from priyadi/unicode_map
Allow unicode up to 0xFFFFF using separate mapping table
This commit is contained in:
commit
52d7f7d277
9 changed files with 495 additions and 0 deletions
|
@ -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,
|
||||
|
@ -339,5 +343,8 @@ enum quantum_keycodes {
|
|||
#define UC(n) UNICODE(n)
|
||||
#endif
|
||||
|
||||
#ifdef UNICODEMAP_ENABLE
|
||||
#define X(n) (n | QK_UNICODE_MAP)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue