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

@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 */
/*== all animations enable ==*/
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View file

@ -12,7 +12,8 @@
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
"max_brightness": 100,
"sleep": true
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],