diff options
Diffstat (limited to 'keyboards/keychron/common')
-rw-r--r-- | keyboards/keychron/common/keychron_common.h | 7 |
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, |