diff options
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -rw-r--r-- | quantum/quantum_keycodes.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 2b309f4d5..ccf5371f0 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -86,8 +86,8 @@ enum quantum_keycodes { | |||
| 86 | QK_UNICODE_MAX = 0xFFFF, | 86 | QK_UNICODE_MAX = 0xFFFF, |
| 87 | #endif | 87 | #endif |
| 88 | #ifdef UNICODEMAP_ENABLE | 88 | #ifdef UNICODEMAP_ENABLE |
| 89 | QK_UNICODE_MAP = 0x8000, | 89 | QK_UNICODEMAP = 0x8000, |
| 90 | QK_UNICODE_MAP_MAX = 0x83FF, | 90 | QK_UNICODEMAP_MAX = 0x83FF, |
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 93 | // Loose keycodes - to be used directly | 93 | // Loose keycodes - to be used directly |
| @@ -679,15 +679,12 @@ enum quantum_keycodes { | |||
| 679 | #define KC_MEH MEH(KC_NO) | 679 | #define KC_MEH MEH(KC_NO) |
| 680 | 680 | ||
| 681 | #ifdef UNICODE_ENABLE | 681 | #ifdef UNICODE_ENABLE |
| 682 | // For sending unicode codes. | 682 | // Allows Unicode input up to 0x7FFF |
| 683 | // You may not send codes over 7FFF -- this supports most of UTF8. | 683 | #define UC(c) (QK_UNICODE | (c)) |
| 684 | // To have a key that sends out Œ, go UC(0x0152) | ||
| 685 | #define UNICODE(n) (QK_UNICODE | (n)) | ||
| 686 | #define UC(n) UNICODE(n) | ||
| 687 | #endif | 684 | #endif |
| 688 | |||
| 689 | #ifdef UNICODEMAP_ENABLE | 685 | #ifdef UNICODEMAP_ENABLE |
| 690 | #define X(n) (QK_UNICODE_MAP | (n)) | 686 | // Allows Unicode input up to 0x10FFFF, requires unicode_map |
| 687 | #define X(i) (QK_UNICODEMAP | (i)) | ||
| 691 | #endif | 688 | #endif |
| 692 | 689 | ||
| 693 | #define UC_MOD UNICODE_MODE_FORWARD | 690 | #define UC_MOD UNICODE_MODE_FORWARD |
