From 1215fc2a782100bfd6577e1826f8c7e46be137ca Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> Date: Fri, 9 Dec 2022 00:43:28 +0800 Subject: Update Q1 and Q2 for keychron (#18713) Co-authored-by: Drashna Jaelre Co-authored-by: jpe230 --- keyboards/keychron/common/keychron_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'keyboards/keychron/common') 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, -- cgit v1.2.3