Move RGBLIGHT_LED_MAP to data driven (#21095)

This commit is contained in:
Ryan
2023-06-14 22:01:13 +10:00
committed by GitHub
parent 6c4286152f
commit 9551a0a38a
84 changed files with 68 additions and 306 deletions
-2
View File
@@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 12
#define RGBLIGHT_SPLIT
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \
11, 10, 9, 8, 7, 6 }
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
@@ -17,6 +17,7 @@
"soft_serial_pin": "D2"
},
"rgblight": {
"led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6],
"split_count": [6, 6]
},
"ws2812": {
-3
View File
@@ -15,9 +15,6 @@
#define WS2812_PIO_USE_PIO1
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \
11, 10, 9, 8, 7, 6 }
/*
* Feature disable options
* These options are also useful to firmware size reduction.
@@ -26,6 +26,7 @@
},
"rgblight": {
"led_count": 12,
"led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6],
"sleep": true,
"split": true,
"split_count": [6, 6],