diff options
| author | Ryan <fauxpark@gmail.com> | 2023-06-02 02:25:08 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-01 17:25:08 +0100 |
| commit | a4ed6ad0f5ccbbf1b497dc03ba64820bdaaa8957 (patch) | |
| tree | 72ff0bd7c826424771d92709abab5fe43e7bcda1 /quantum/quantum_keycodes.h | |
| parent | 45c9bc4e551fe8014d9f0674b95b3422de16408f (diff) | |
Unicodemap keycodes rename (#21092)
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -rw-r--r-- | quantum/quantum_keycodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index f931b7e4c7..d3249bd455 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -179,10 +179,10 @@ | |||
| 179 | #define QK_UNICODE_GET_CODE_POINT(kc) ((kc)&0x7FFF) | 179 | #define QK_UNICODE_GET_CODE_POINT(kc) ((kc)&0x7FFF) |
| 180 | 180 | ||
| 181 | // UNICODEMAP_ENABLE - Allows Unicode input up to 0x10FFFF, requires unicode_map | 181 | // UNICODEMAP_ENABLE - Allows Unicode input up to 0x10FFFF, requires unicode_map |
| 182 | #define X(i) (QK_UNICODEMAP | ((i)&0x3FFF)) | 182 | #define UM(i) (QK_UNICODEMAP | ((i)&0x3FFF)) |
| 183 | #define QK_UNICODEMAP_GET_INDEX(kc) ((kc)&0x3FFF) | 183 | #define QK_UNICODEMAP_GET_INDEX(kc) ((kc)&0x3FFF) |
| 184 | 184 | ||
| 185 | #define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j | 185 | #define UP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j |
| 186 | #define QK_UNICODEMAP_PAIR_GET_UNSHIFTED_INDEX(kc) ((kc)&0x7F) | 186 | #define QK_UNICODEMAP_PAIR_GET_UNSHIFTED_INDEX(kc) ((kc)&0x7F) |
| 187 | #define QK_UNICODEMAP_PAIR_GET_SHIFTED_INDEX(kc) (((kc) >> 7) & 0x7F) | 187 | #define QK_UNICODEMAP_PAIR_GET_SHIFTED_INDEX(kc) (((kc) >> 7) & 0x7F) |
| 188 | 188 | ||
