Migrate RGB Matrix config to info.json - A (#22798)

This commit is contained in:
Joel Challis 2024-01-02 03:05:08 +00:00 committed by GitHub
parent 0a6913b682
commit 60f0132bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 458 additions and 618 deletions

View file

@ -17,11 +17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SELECT_SOFT_SERIAL_SPEED 1
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 68
#define RGB_MATRIX_SPLIT { 34, 34 }
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#endif

View file

@ -32,9 +32,11 @@
},
"rgb_matrix": {
"driver": "ws2812",
"max_brightness": 150,
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 10
"speed_steps": 10,
"split_count": [34, 34],
"val_steps": 8
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],