Unicodemap keycodes rename (#21092)
This commit is contained in:
parent
45c9bc4e55
commit
a4ed6ad0f5
55 changed files with 358 additions and 360 deletions
|
@ -179,10 +179,10 @@
|
|||
#define QK_UNICODE_GET_CODE_POINT(kc) ((kc)&0x7FFF)
|
||||
|
||||
// UNICODEMAP_ENABLE - Allows Unicode input up to 0x10FFFF, requires unicode_map
|
||||
#define X(i) (QK_UNICODEMAP | ((i)&0x3FFF))
|
||||
#define UM(i) (QK_UNICODEMAP | ((i)&0x3FFF))
|
||||
#define QK_UNICODEMAP_GET_INDEX(kc) ((kc)&0x3FFF)
|
||||
|
||||
#define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j
|
||||
#define UP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j
|
||||
#define QK_UNICODEMAP_PAIR_GET_UNSHIFTED_INDEX(kc) ((kc)&0x7F)
|
||||
#define QK_UNICODEMAP_PAIR_GET_SHIFTED_INDEX(kc) (((kc) >> 7) & 0x7F)
|
||||
|
||||
|
|
|
@ -53,3 +53,6 @@
|
|||
#define GUI_ON QK_MAGIC_GUI_ON
|
||||
#define GUI_OFF QK_MAGIC_GUI_OFF
|
||||
#define GUI_TOG QK_MAGIC_TOGGLE_GUI
|
||||
|
||||
#define X(i) UM(i)
|
||||
#define XP(i, j) UM(i, j)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue