Move RGBLIGHT_LED_MAP to data driven (#21095)
This commit is contained in:
@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Synchronize Caps Lock LED across halves */
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8],
|
||||
"split_count": [8, 8],
|
||||
"animations": {
|
||||
"alternating": true,
|
||||
|
||||
@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Synchronize Caps Lock LED across halves */
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16,
|
||||
"led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8],
|
||||
"split_count": [8, 8],
|
||||
"animations": {
|
||||
"alternating": true,
|
||||
|
||||
Reference in New Issue
Block a user