From 2cbaa77e132d75f93189d16987a0d146dbee9cbb Mon Sep 17 00:00:00 2001 From: moyi4681 Date: Wed, 25 May 2022 15:27:35 +0800 Subject: [PATCH] fix dz64rgb rgb sleep --- keyboards/dztech/dz64rgb/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/dztech/dz64rgb/config.h b/keyboards/dztech/dz64rgb/config.h index 86848077fa4e..b50c15810e72 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