qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit d5ed3ae9676aeea4cfd4d58ba1fe0b20936ae658
parent cda343acbe45826225edac75eaa63216bf76d874
Author: moyi4681 <moyi4681@users.noreply.github.com>
Date:   Tue, 31 May 2022 16:22:07 +0800

[Keyboard] fix dz64rgb rgb sleep (#17209)


Diffstat:
Mkeyboards/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 @@ -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