Migrate RGB Matrix config to info.json - C (#22807)

This commit is contained in:
Joel Challis
2024-01-04 06:00:47 +00:00
committed by GitHub
parent c412b7fc42
commit a5f1438f58
25 changed files with 211 additions and 330 deletions

View File

@@ -31,21 +31,40 @@
},
"processor": "atmega32u4",
"rgb_matrix": {
"driver": "ws2812",
"layout": [
{"flags": 4, "matrix": [0, 3], "x": 3, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 2, "y": 0},
{"flags": 4, "matrix": [0, 1], "x": 1, "y": 0},
{"flags": 4, "matrix": [0, 0], "x": 0, "y": 0},
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 1},
{"flags": 4, "matrix": [1, 1], "x": 1, "y": 1},
{"flags": 4, "matrix": [1, 2], "x": 2, "y": 1},
{"flags": 4, "matrix": [1, 3], "x": 3, "y": 1},
{"flags": 4, "matrix": [2, 3], "x": 3, "y": 2},
{"flags": 4, "matrix": [2, 2], "x": 2, "y": 2},
{"flags": 4, "matrix": [2, 1], "x": 1, "y": 2},
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 2}
]
"animations": {
"typing_heatmap": true,
"digital_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
},
"default": {
"animation": "typing_heatmap"
},
"driver": "ws2812",
"layout": [
{"flags": 4, "matrix": [0, 3], "x": 3, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 2, "y": 0},
{"flags": 4, "matrix": [0, 1], "x": 1, "y": 0},
{"flags": 4, "matrix": [0, 0], "x": 0, "y": 0},
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 1},
{"flags": 4, "matrix": [1, 1], "x": 1, "y": 1},
{"flags": 4, "matrix": [1, 2], "x": 2, "y": 1},
{"flags": 4, "matrix": [1, 3], "x": 3, "y": 1},
{"flags": 4, "matrix": [2, 3], "x": 3, "y": 2},
{"flags": 4, "matrix": [2, 2], "x": 2, "y": 2},
{"flags": 4, "matrix": [2, 1], "x": 1, "y": 2},
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 2}
]
},
"url": "",
"usb": {