Move RGBLIGHT_LIMIT_VAL to data driven (#20974)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-05-27 12:27:44 +10:00
committed by GitHub
parent 8fdcba12e6
commit 363bfdbfda
679 changed files with 649 additions and 493 deletions

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 36
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 18, 18 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 42
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 21, 21 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 48
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 24, 24 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 48
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 24, 24 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 56
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 28, 28 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 64
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 32, 32 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 60
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 30, 30 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -39,7 +39,6 @@
#define RGBLED_NUM 70
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 30, 40 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#endif
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 70

View File

@@ -22,6 +22,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 70
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 35, 35 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -38,7 +38,6 @@
#define RGBLED_NUM 80
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 40, 40 } // Number of LEDs
#define RGBLIGHT_LIMIT_VAL 100
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
},
"layouts": {
"LAYOUT": {
"layout": [