From 60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 2 Jan 2024 03:05:08 +0000 Subject: Migrate RGB Matrix config to info.json - A (#22798) --- keyboards/aleblazer/zodiark/config.h | 8 -------- keyboards/aleblazer/zodiark/info.json | 6 ++++-- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'keyboards/aleblazer/zodiark') diff --git a/keyboards/aleblazer/zodiark/config.h b/keyboards/aleblazer/zodiark/config.h index d765afd355..8230f082b3 100644 --- a/keyboards/aleblazer/zodiark/config.h +++ b/keyboards/aleblazer/zodiark/config.h @@ -17,11 +17,3 @@ along with this program. If not, see . #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 diff --git a/keyboards/aleblazer/zodiark/info.json b/keyboards/aleblazer/zodiark/info.json index c7c5b9a8a8..a66b5188b6 100644 --- a/keyboards/aleblazer/zodiark/info.json +++ b/keyboards/aleblazer/zodiark/info.json @@ -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"], -- cgit v1.2.3