Migrate RGB Matrix config to info.json - D (#22811)

This commit is contained in:
Joel Challis 2024-01-07 13:36:14 +00:00 committed by GitHub
parent 7114eb25f8
commit 6e3cc56bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 1075 additions and 1514 deletions

View file

@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 15
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#define RGB_MATRIX_DEFAULT_HUE 221
#endif
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9

View file

@ -17,6 +17,10 @@
"pin": "A10"
},
"rgb_matrix": {
"default": {
"animation": "solid_reactive_simple",
"hue": 221
},
"driver": "ws2812",
"layout": [
{"matrix": [0, 2], "x": 224, "y": 0, "flags": 4},