Move RGBLIGHT_SLEEP to data driven (#21072)

This commit is contained in:
Ryan 2023-06-16 14:04:45 +10:00 committed by GitHub
parent 579db6131e
commit 2367d8129c
Failed to generate hash of commit
805 changed files with 991 additions and 563 deletions

View file

@ -21,7 +21,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -12,7 +12,8 @@
"pin": "F0"
},
"rgblight": {
"max_brightness": 200
"max_brightness": 200,
"sleep": true
},
"matrix_pins": {
"cols": ["F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "B3", "B2", "B1"],

View file

@ -7,7 +7,6 @@
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -8,6 +8,9 @@
"pid": "0x0081",
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "D0"
},