summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-19 07:59:50 +0000
committerGitHub <noreply@github.com>2023-02-19 18:59:50 +1100
commit0152dd811dad101d5764f66476fa842170b86695 (patch)
tree5999c92f9e56076febab5674cb77a823c0e1de2a /quantum
parente837a32b2b4d6eb96ffacad0022699d67c0f8f1e (diff)
Move `KC_MISSION_CONTROL`/`KC_LAUNCHPAD` keycodes to core (#19884)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/keycodes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/keycodes.h b/quantum/keycodes.h
index 36cec4eab8..e47286a443 100644
--- a/quantum/keycodes.h
+++ b/quantum/keycodes.h
@@ -281,6 +281,8 @@ enum qk_keycode_defines {
KC_BRIGHTNESS_DOWN = 0x00BE,
KC_CONTROL_PANEL = 0x00BF,
KC_ASSISTANT = 0x00C0,
+ KC_MISSION_CONTROL = 0x00C1,
+ KC_LAUNCHPAD = 0x00C2,
KC_MS_UP = 0x00CD,
KC_MS_DOWN = 0x00CE,
KC_MS_LEFT = 0x00CF,
@@ -835,6 +837,8 @@ enum qk_keycode_defines {
KC_BRID = KC_BRIGHTNESS_DOWN,
KC_CPNL = KC_CONTROL_PANEL,
KC_ASST = KC_ASSISTANT,
+ KC_MCTL = KC_MISSION_CONTROL,
+ KC_LPAD = KC_LAUNCHPAD,
KC_MS_U = KC_MS_UP,
KC_MS_D = KC_MS_DOWN,
KC_MS_L = KC_MS_LEFT,
@@ -1332,7 +1336,7 @@ enum qk_keycode_defines {
#define IS_INTERNAL_KEYCODE(code) ((code) >= KC_NO && (code) <= KC_TRANSPARENT)
#define IS_BASIC_KEYCODE(code) ((code) >= KC_A && (code) <= KC_EXSEL)
#define IS_SYSTEM_KEYCODE(code) ((code) >= KC_SYSTEM_POWER && (code) <= KC_SYSTEM_WAKE)
-#define IS_CONSUMER_KEYCODE(code) ((code) >= KC_AUDIO_MUTE && (code) <= KC_ASSISTANT)
+#define IS_CONSUMER_KEYCODE(code) ((code) >= KC_AUDIO_MUTE && (code) <= KC_LAUNCHPAD)
#define IS_MOUSE_KEYCODE(code) ((code) >= KC_MS_UP && (code) <= KC_MS_ACCEL2)
#define IS_MODIFIER_KEYCODE(code) ((code) >= KC_LEFT_CTRL && (code) <= KC_RIGHT_GUI)
#define IS_SWAP_HANDS_KEYCODE(code) ((code) >= QK_SWAP_HANDS_TOGGLE && (code) <= QK_SWAP_HANDS_ONE_SHOT)