diff options
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -rw-r--r-- | quantum/quantum_keycodes.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index a21d0959b..e697b71ba 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -842,15 +842,11 @@ enum quantum_keycodes { | |||
| 842 | #define KC_HYPR HYPR(KC_NO) | 842 | #define KC_HYPR HYPR(KC_NO) |
| 843 | #define KC_MEH MEH(KC_NO) | 843 | #define KC_MEH MEH(KC_NO) |
| 844 | 844 | ||
| 845 | #ifdef UNICODE_ENABLE | 845 | // UNICODE_ENABLE - Allows Unicode input up to 0x7FFF |
| 846 | // Allows Unicode input up to 0x7FFF | 846 | #define UC(c) (QK_UNICODE | (c)) |
| 847 | # define UC(c) (QK_UNICODE | (c)) | 847 | // UNICODEMAP_ENABLE - Allows Unicode input up to 0x10FFFF, requires unicode_map |
| 848 | #endif | 848 | #define X(i) (QK_UNICODEMAP | (i)) |
| 849 | #ifdef UNICODEMAP_ENABLE | 849 | #define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j |
| 850 | // Allows Unicode input up to 0x10FFFF, requires unicode_map | ||
| 851 | # define X(i) (QK_UNICODEMAP | (i)) | ||
| 852 | # define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j | ||
| 853 | #endif | ||
| 854 | 850 | ||
| 855 | #define UC_MOD UNICODE_MODE_FORWARD | 851 | #define UC_MOD UNICODE_MODE_FORWARD |
| 856 | #define UC_RMOD UNICODE_MODE_REVERSE | 852 | #define UC_RMOD UNICODE_MODE_REVERSE |
