Migrate RGB Matrix config to info.json - D (#22811)
This commit is contained in:
parent
7114eb25f8
commit
6e3cc56bdf
67 changed files with 1075 additions and 1514 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue