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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
805 changed files with 991 additions and 563 deletions

View file

@ -50,4 +50,3 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP

View file

@ -12,6 +12,9 @@
{"pin_a": "B5", "pin_b": "B4"}
]
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "E6"
},

View file

@ -59,7 +59,6 @@
/* Optional SMT LED pins */
#define RGBLED_NUM 10
#define RGBLIGHT_SLEEP
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -8,6 +8,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true,
"led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5],
"split_count": [5, 5]
},