From d5ed3ae9676aeea4cfd4d58ba1fe0b20936ae658 Mon Sep 17 00:00:00 2001 From: moyi4681 Date: Tue, 31 May 2022 16:22:07 +0800 Subject: [Keyboard] fix dz64rgb rgb sleep (#17209) --- keyboards/dztech/dz64rgb/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keyboards/dztech') 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 -- cgit v1.2.3