Move RGBLIGHT_SLEEP
to data driven (#21072)
This commit is contained in:
parent
579db6131e
commit
2367d8129c
805 changed files with 991 additions and 563 deletions
|
@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* Underglow */
|
||||
#define RGBLED_NUM 40
|
||||
#define RGBLIGHT_SLEEP // Turns LEDs off if the PC goes to sleep/shutdown
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
"pin": "B7",
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_PWM_PAL_MODE 2
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM7
|
||||
#define WS2812_DMA_CHANNEL 7
|
||||
#define RGBLIGHT_SLEEP
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B9",
|
||||
"driver": "pwm"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue