summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-11-10 07:43:51 +1100
committerGitHub <noreply@github.com>2022-11-10 07:43:51 +1100
commit575b0e33fa47034f5cfaf6f7cd98570268efa0a2 (patch)
tree038713e55e1e5fe5ac72a9ffd8cf8f1c7af18ed8 /keyboards/keychron
parentaf52a9f8add3c1cef1b71c96fb3ee8f73485a26d (diff)
Rollback unrelated changes from previous PR. (#19015)
Diffstat (limited to 'keyboards/keychron')
-rw-r--r--keyboards/keychron/q1/config.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/keyboards/keychron/q1/config.h b/keyboards/keychron/q1/config.h
index 50a5b70cc3..cda8799a79 100644
--- a/keyboards/keychron/q1/config.h
+++ b/keyboards/keychron/q1/config.h
@@ -37,9 +37,17 @@
/* Disable DIP switch in matrix data */
#define MATRIX_MASKED
+/* NKRO */
+#define FORCE_NKRO
+
/* Disable RGB lighting when PC is in suspend */
#define RGB_DISABLE_WHEN_USB_SUSPENDED
+/* Allow VIA to edit lighting */
+#ifdef VIA_ENABLE
+#define VIA_QMK_RGBLIGHT_ENABLE
+#endif
+
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
@@ -89,5 +97,7 @@
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-// #define RGB_MATRIX_KEYPRESSES
-// #define RGB_MATRIX_FRAMEBUFFER_EFFECTS \ No newline at end of file
+/* Allow VIA to edit lighting */
+#ifdef VIA_ENABLE
+#define VIA_QMK_RGBLIGHT_ENABLE
+#endif