summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/common/keychron_common.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-12-08 16:44:03 +0000
committerQMK Bot <hello@qmk.fm>2022-12-08 16:44:03 +0000
commite06f50c489e02068465dfb3e5b3c7473006e6273 (patch)
tree91401c338f2e8567c01c28221250de1107ba40cb /keyboards/keychron/common/keychron_common.h
parent5a2ed77a086386dae7c10eed7bda54253dc8177e (diff)
parent1215fc2a782100bfd6577e1826f8c7e46be137ca (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keychron/common/keychron_common.h')
-rw-r--r--keyboards/keychron/common/keychron_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/common/keychron_common.h b/keyboards/keychron/common/keychron_common.h
index 0bcbf951db..543baf9c94 100644
--- a/keyboards/keychron/common/keychron_common.h
+++ b/keyboards/keychron/common/keychron_common.h
@@ -15,10 +15,17 @@
*/
#include "stdint.h"
+#ifdef VIA_ENABLE
+# include "via.h"
+#endif
#include "quantum_keycodes.h"
enum custom_keycodes {
+#ifdef VIA_ENABLE
+ KC_MISSION_CONTROL = USER00,
+#else
KC_MISSION_CONTROL = SAFE_RANGE,
+#endif
KC_LAUNCHPAD,
KC_LOPTN,
KC_ROPTN,