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/adpenrose/akemipad/config.h | 13 ------------- keyboards/adpenrose/akemipad/info.json | 9 ++++++++- 2 files changed, 8 insertions(+), 14 deletions(-) (limited to 'keyboards/adpenrose/akemipad') diff --git a/keyboards/adpenrose/akemipad/config.h b/keyboards/adpenrose/akemipad/config.h index e1dac88629..8c70779a29 100644 --- a/keyboards/adpenrose/akemipad/config.h +++ b/keyboards/adpenrose/akemipad/config.h @@ -8,16 +8,3 @@ #define AUDIO_CLICKY #define AUDIO_ENABLE_TONE_MULTIPLEXING #define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10 - -// The number of LEDs connected -#define RGB_MATRIX_LED_COUNT 27 -#define RGB_MATRIX_CENTER { 60, 77 } -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175 -#define RGB_MATRIX_SLEEP -#ifdef RGB_MATRIX_ENABLE -// RGB Matrix Animation modes. Explicitly enabled -// For full list of effects, see: -// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects -# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#endif diff --git a/keyboards/adpenrose/akemipad/info.json b/keyboards/adpenrose/akemipad/info.json index 0484578571..28ac8d6d4c 100644 --- a/keyboards/adpenrose/akemipad/info.json +++ b/keyboards/adpenrose/akemipad/info.json @@ -11,7 +11,14 @@ "pin": "F4" }, "rgb_matrix": { - "driver": "ws2812" + "animations": { + "cycle_left_right": true, + "cycle_up_down": true + }, + "center_point": [60, 77], + "driver": "ws2812", + "max_brightness": 175, + "sleep": true }, "matrix_pins": { "cols": ["D3", "D2", "F5", "F6", "B2"], -- cgit v1.2.3