summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q1
diff options
context:
space:
mode:
authorripdog <ripdog@users.noreply.github.com>2022-01-03 16:26:16 +1300
committerGitHub <noreply@github.com>2022-01-02 19:26:16 -0800
commit1b953ac1e2a0b6f4bb91dea71339d1ccfc25f523 (patch)
treeb2a4735dbcf3b1a1bd6d389ae1717b6109131e04 /keyboards/keychron/q1
parent838b214a2e4d791479a4ce67e508576293202516 (diff)
downloadqmk_firmware-1b953ac1e2a0b6f4bb91dea71339d1ccfc25f523.tar.gz
qmk_firmware-1b953ac1e2a0b6f4bb91dea71339d1ccfc25f523.zip
[Keyboard] Keychron Q1: Turn off RGB during PC suspend (#15685)
Diffstat (limited to 'keyboards/keychron/q1')
-rw-r--r--keyboards/keychron/q1/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/keychron/q1/config.h b/keyboards/keychron/q1/config.h
index 149280161f..8107dd6251 100644
--- a/keyboards/keychron/q1/config.h
+++ b/keyboards/keychron/q1/config.h
@@ -46,6 +46,9 @@
/* NKRO */
#define FORCE_NKRO
+/* Disable RGB lighting when PC is in suspend */
+#define RGB_DISABLE_WHEN_USB_SUSPENDED
+
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects