Migrate RGB Matrix config to info.json - RS (#22909)
This commit is contained in:
parent
de6ae3408c
commit
a90b45e832
72 changed files with 839 additions and 1201 deletions
|
@ -50,12 +50,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define OLED_DISPLAY_128X64
|
||||
# define SPLIT_OLED_ENABLE
|
||||
#endif
|
||||
|
||||
/* RGB matrix support */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# define RGB_MATRIX_LED_COUNT 20 // Number of LEDs
|
||||
# define RGB_MATRIX_SPLIT { 10, 10 }
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
|
||||
# define RGB_MATRIX_SLEEP
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
"split_count": [10, 10]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812"
|
||||
"driver": "ws2812",
|
||||
"max_brightness": 170,
|
||||
"sleep": true,
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4"],
|
||||
|
@ -34,6 +37,11 @@
|
|||
"cols": ["B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"],
|
||||
"rows": ["D4", "C6", "D7", "E6"]
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"sync": {
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"layout_aliases": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue