diff options
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -rw-r--r-- | quantum/quantum_keycodes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 19bd7c216..779c355ef 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -87,7 +87,9 @@ enum quantum_keycodes { | |||
| 87 | #endif | 87 | #endif |
| 88 | #ifdef UNICODEMAP_ENABLE | 88 | #ifdef UNICODEMAP_ENABLE |
| 89 | QK_UNICODEMAP = 0x8000, | 89 | QK_UNICODEMAP = 0x8000, |
| 90 | QK_UNICODEMAP_MAX = 0x83FF, | 90 | QK_UNICODEMAP_MAX = 0xBFFF, |
| 91 | QK_UNICODEMAP_PAIR = 0xC000, | ||
| 92 | QK_UNICODEMAP_PAIR_MAX = 0xFFFF, | ||
| 91 | #endif | 93 | #endif |
| 92 | 94 | ||
| 93 | // Loose keycodes - to be used directly | 95 | // Loose keycodes - to be used directly |
| @@ -712,7 +714,8 @@ enum quantum_keycodes { | |||
| 712 | #endif | 714 | #endif |
| 713 | #ifdef UNICODEMAP_ENABLE | 715 | #ifdef UNICODEMAP_ENABLE |
| 714 | // Allows Unicode input up to 0x10FFFF, requires unicode_map | 716 | // Allows Unicode input up to 0x10FFFF, requires unicode_map |
| 715 | #define X(i) (QK_UNICODEMAP | (i)) | 717 | #define X(i) (QK_UNICODEMAP | (i)) |
| 718 | #define XP(i, j) (QK_UNICODEMAP_PAIR | ((i) & 0x7F) | (((j) & 0x7F) << 7)) // 127 max i and j | ||
| 716 | #endif | 719 | #endif |
| 717 | 720 | ||
| 718 | #define UC_MOD UNICODE_MODE_FORWARD | 721 | #define UC_MOD UNICODE_MODE_FORWARD |
