Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan authored and GitHub committed 2023-06-18 14:39:07 +10:00
1 parent 7178645be7
commit b1783db4ea
2160 files changed
+2194 -2058

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 13
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
+1
View File
@@ -8,6 +8,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 13,
"sleep": true
},
"ws2812": {
-1
View File
@@ -16,7 +16,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
+3
View File
@@ -9,6 +9,9 @@
"pin": "B7",
"breathing": true
},
"rgblight": {
"led_count": 10
},
"ws2812": {
"pin": "F6"
},
-1
View File
@@ -10,7 +10,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 20
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
+3
View File
@@ -16,6 +16,9 @@
"backlight": {
"pin": "B7"
},
"rgblight": {
"led_count": 20
},
"ws2812": {
"pin": "D3"
},
-1
View File
@@ -10,7 +10,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 20
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
+1
View File
@@ -19,6 +19,7 @@
"as_caps_lock": true
},
"rgblight": {
"led_count": 20,
"sleep": true
},
"ws2812": {