1
0
Fork 0

Migrate RGB Matrix config to info.json - B (#22806)

This commit is contained in:
Joel Challis 2024-01-04 06:00:28 +00:00 committed by GitHub
parent 5267329caa
commit c412b7fc42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 429 additions and 760 deletions

View file

@ -1,14 +0,0 @@
// Copyright 2022 jack (@waffle87)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_LED_COUNT 44
#define RGB_MATRIX_SPLIT { 22, 22 }
#define RGB_MATRIX_SLEEP
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS

View file

@ -35,6 +35,14 @@
}
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_left_right": true,
"breathing": true,
"cycle_left_right": true,
"cycle_spiral": true,
"jellybean_raindrops": true
},
"driver": "ws2812",
"layout": [
{"flags": 2, "x": 12, "y": 11},
@ -81,6 +89,9 @@
{"flags": 1, "matrix": [7, 4], "x": 124, "y": 64},
{"flags": 1, "matrix": [7, 3], "x": 149, "y": 64},
{"flags": 1, "matrix": [7, 2], "x": 174, "y": 64}
]
],
"max_brightness": 150,
"sleep": true,
"split_count": [22, 22]
}
}