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/akko/acr87/config.h | 6 ------ keyboards/akko/acr87/info.json | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'keyboards/akko/acr87') diff --git a/keyboards/akko/acr87/config.h b/keyboards/akko/acr87/config.h index cbd3cb2a9c..cdc4b6011a 100644 --- a/keyboards/akko/acr87/config.h +++ b/keyboards/akko/acr87/config.h @@ -39,10 +39,4 @@ #define I2C1_OPMODE OPMODE_I2C #define I2C1_CLOCK_SPEED 400000 /* 400000 */ -#define RGB_MATRIX_LED_COUNT 135 - -#define RGB_MATRIX_SLEEP // turn off effects when suspended #define RGB_TRIGGER_ON_KEYDOWN -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_KEYRELEASES diff --git a/keyboards/akko/acr87/info.json b/keyboards/akko/acr87/info.json index 5ccb0c3f73..2702ee7915 100644 --- a/keyboards/akko/acr87/info.json +++ b/keyboards/akko/acr87/info.json @@ -200,7 +200,9 @@ {"flags": 2, "x":196, "y":64}, {"flags": 2, "x":210, "y":64}, {"flags": 2, "x":224, "y":64} - ] + ], + "react_on_keyup": true, + "sleep": true }, "layouts": { "LAYOUT": { -- cgit v1.2.3