summaryrefslogtreecommitdiffstats
path: root/quantum/keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keycodes.h')
-rw-r--r--quantum/keycodes.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/quantum/keycodes.h b/quantum/keycodes.h
index dfebd22044..34b13c29af 100644
--- a/quantum/keycodes.h
+++ b/quantum/keycodes.h
@@ -77,13 +77,13 @@ enum qk_keycode_ranges {
QK_QUANTUM = 0x7C00,
QK_QUANTUM_MAX = 0x7DFF,
QK_KB = 0x7E00,
- QK_KB_MAX = 0x7EFF,
- QK_USER = 0x7F00,
+ QK_KB_MAX = 0x7E3F,
+ QK_USER = 0x7E40,
QK_USER_MAX = 0x7FFF,
- QK_UNICODE = 0x8000,
- QK_UNICODE_MAX = 0xFFFF,
QK_UNICODEMAP = 0x8000,
QK_UNICODEMAP_MAX = 0xBFFF,
+ QK_UNICODE = 0x8000,
+ QK_UNICODE_MAX = 0xFFFF,
QK_UNICODEMAP_PAIR = 0xC000,
QK_UNICODEMAP_PAIR_MAX = 0xFFFF,
};
@@ -753,38 +753,38 @@ enum qk_keycode_defines {
QK_KB_29 = 0x7E1D,
QK_KB_30 = 0x7E1E,
QK_KB_31 = 0x7E1F,
- QK_USER_0 = 0x7F00,
- QK_USER_1 = 0x7F01,
- QK_USER_2 = 0x7F02,
- QK_USER_3 = 0x7F03,
- QK_USER_4 = 0x7F04,
- QK_USER_5 = 0x7F05,
- QK_USER_6 = 0x7F06,
- QK_USER_7 = 0x7F07,
- QK_USER_8 = 0x7F08,
- QK_USER_9 = 0x7F09,
- QK_USER_10 = 0x7F0A,
- QK_USER_11 = 0x7F0B,
- QK_USER_12 = 0x7F0C,
- QK_USER_13 = 0x7F0D,
- QK_USER_14 = 0x7F0E,
- QK_USER_15 = 0x7F0F,
- QK_USER_16 = 0x7F10,
- QK_USER_17 = 0x7F11,
- QK_USER_18 = 0x7F12,
- QK_USER_19 = 0x7F13,
- QK_USER_20 = 0x7F14,
- QK_USER_21 = 0x7F15,
- QK_USER_22 = 0x7F16,
- QK_USER_23 = 0x7F17,
- QK_USER_24 = 0x7F18,
- QK_USER_25 = 0x7F19,
- QK_USER_26 = 0x7F1A,
- QK_USER_27 = 0x7F1B,
- QK_USER_28 = 0x7F1C,
- QK_USER_29 = 0x7F1D,
- QK_USER_30 = 0x7F1E,
- QK_USER_31 = 0x7F1F,
+ QK_USER_0 = 0x7E40,
+ QK_USER_1 = 0x7E41,
+ QK_USER_2 = 0x7E42,
+ QK_USER_3 = 0x7E43,
+ QK_USER_4 = 0x7E44,
+ QK_USER_5 = 0x7E45,
+ QK_USER_6 = 0x7E46,
+ QK_USER_7 = 0x7E47,
+ QK_USER_8 = 0x7E48,
+ QK_USER_9 = 0x7E49,
+ QK_USER_10 = 0x7E4A,
+ QK_USER_11 = 0x7E4B,
+ QK_USER_12 = 0x7E4C,
+ QK_USER_13 = 0x7E4D,
+ QK_USER_14 = 0x7E4E,
+ QK_USER_15 = 0x7E4F,
+ QK_USER_16 = 0x7E50,
+ QK_USER_17 = 0x7E51,
+ QK_USER_18 = 0x7E52,
+ QK_USER_19 = 0x7E53,
+ QK_USER_20 = 0x7E54,
+ QK_USER_21 = 0x7E55,
+ QK_USER_22 = 0x7E56,
+ QK_USER_23 = 0x7E57,
+ QK_USER_24 = 0x7E58,
+ QK_USER_25 = 0x7E59,
+ QK_USER_26 = 0x7E5A,
+ QK_USER_27 = 0x7E5B,
+ QK_USER_28 = 0x7E5C,
+ QK_USER_29 = 0x7E5D,
+ QK_USER_30 = 0x7E5E,
+ QK_USER_31 = 0x7E5F,
// Alias
XXXXXXX = KC_NO,
@@ -1391,8 +1391,8 @@ enum qk_keycode_defines {
#define IS_QK_QUANTUM(code) ((code) >= QK_QUANTUM && (code) <= QK_QUANTUM_MAX)
#define IS_QK_KB(code) ((code) >= QK_KB && (code) <= QK_KB_MAX)
#define IS_QK_USER(code) ((code) >= QK_USER && (code) <= QK_USER_MAX)
-#define IS_QK_UNICODE(code) ((code) >= QK_UNICODE && (code) <= QK_UNICODE_MAX)
#define IS_QK_UNICODEMAP(code) ((code) >= QK_UNICODEMAP && (code) <= QK_UNICODEMAP_MAX)
+#define IS_QK_UNICODE(code) ((code) >= QK_UNICODE && (code) <= QK_UNICODE_MAX)
#define IS_QK_UNICODEMAP_PAIR(code) ((code) >= QK_UNICODEMAP_PAIR && (code) <= QK_UNICODEMAP_PAIR_MAX)
// Group Helpers