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

@ -1,31 +0,0 @@
// Copyright 2022 Katrina (@Daggette10)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define RGB_MATRIX_LED_COUNT 44
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
#define ENABLE_RGB_MATRIX_CYCLE_ALL
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -36,6 +36,14 @@
"pin": "F6"
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"cycle_all": true,
"rainbow_moving_chevron": true
},
"driver": "ws2812",
"layout": [
{"flags": 4, "matrix": [0, 0], "x": 0, "y": 0},
@ -88,7 +96,8 @@
{"flags": 2, "x": 0, "y": 0},
{"flags": 2, "x": 74.6, "y": 0},
{"flags": 2, "x": 224, "y": 0}
]
],
"max_brightness": 200,
},
"layouts": {
"LAYOUT": {