Fix RGB/LED Suspend defines (#13146)
This commit is contained in:
parent
32b2ac0a80
commit
7a6e630ffd
82 changed files with 181 additions and 196 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
/* Turn off per-key RGB when the host goes to sleep. */
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
/* Keep per-key RGB increments consistent across keyboards. */
|
||||
# undef RGB_MATRIX_HUE_STEP
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
// # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
|
||||
// # define EECONFIG_RGB_MATRIX (uint32_t *)16
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#if defined(RGB_MATRIX_ENABLE)
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
# define DISABLE_RGB_MATRIX_ALPHAS_MODS
|
||||
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
// # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
|
||||
// # define EECONFIG_RGB_MATRIX (uint32_t *)16
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define LED_DISABLE_WHEN_USB_SUSPENDED true
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
||||
#define LED_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_MAX_LAYERS 17
|
||||
#define RGBLIGHT_LAYER_BLINK
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
// RGB_Matrix settings
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
|
||||
#define RGB_MATRIX_HUE_STEP 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue