summaryrefslogtreecommitdiff
path: root/keyboards/dztech
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2022-05-31 16:22:07 +0800
committerGitHub <noreply@github.com>2022-05-31 01:22:07 -0700
commitd5ed3ae9676aeea4cfd4d58ba1fe0b20936ae658 (patch)
treec3b2ff149e34fa7c9b2501c6003159d0f64118a4 /keyboards/dztech
parentcda343acbe45826225edac75eaa63216bf76d874 (diff)
downloadqmk_firmware-d5ed3ae9676aeea4cfd4d58ba1fe0b20936ae658.tar.gz
qmk_firmware-d5ed3ae9676aeea4cfd4d58ba1fe0b20936ae658.zip
[Keyboard] fix dz64rgb rgb sleep (#17209)
Diffstat (limited to 'keyboards/dztech')
-rw-r--r--keyboards/dztech/dz64rgb/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/dztech/dz64rgb/config.h b/keyboards/dztech/dz64rgb/config.h
index 86848077fa..b50c15810e 100644
--- a/keyboards/dztech/dz64rgb/config.h
+++ b/keyboards/dztech/dz64rgb/config.h
@@ -35,7 +35,8 @@
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_KEYPRESSES
+#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
+#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING