diff options
author | Joel Challis <[email protected]> | 2024-01-02 03:05:08 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-02 03:05:08 +0000 |
commit | 60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc (patch) | |
tree | 586a1474044b1349d540c711d3bf510b86640b0a /keyboards/akko/5087 | |
parent | 0a6913b68274c03302b09466a79b99efffd35e59 (diff) | |
download | qmk_firmware-60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc.tar.gz qmk_firmware-60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc.zip |
Migrate RGB Matrix config to info.json - A (#22798)
Diffstat (limited to 'keyboards/akko/5087')
-rw-r--r-- | keyboards/akko/5087/config.h | 9 | ||||
-rw-r--r-- | keyboards/akko/5087/info.json | 4 |
2 files changed, 3 insertions, 10 deletions
diff --git a/keyboards/akko/5087/config.h b/keyboards/akko/5087/config.h index 70aefbc99b..a3245e36bf 100644 --- a/keyboards/akko/5087/config.h +++ b/keyboards/akko/5087/config.h @@ -16,7 +16,6 @@ #pragma once - /* LED Indicators */ #define LED_MAC_OS_PIN C10 #define LED_WIN_LOCK_PIN C11 @@ -41,11 +40,3 @@ #define DRIVER_ADDR_2 0b1110111 #define I2C1_OPMODE OPMODE_I2C #define I2C1_CLOCK_SPEED 400000 /* 400000 */ - -#define RGB_MATRIX_LED_COUNT 87 - -#define RGB_TRIGGER_ON_KEYDOWN -#define RGB_MATRIX_SLEEP // turn off effects when suspended -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES - diff --git a/keyboards/akko/5087/info.json b/keyboards/akko/5087/info.json index 1b4059b0d5..f5249029b3 100644 --- a/keyboards/akko/5087/info.json +++ b/keyboards/akko/5087/info.json @@ -155,7 +155,9 @@ { "flags": 4, "matrix": [5, 15], "x":210, "y": 64}, { "flags": 4, "matrix": [5, 16], "x":224, "y": 64} - ] + ], + "react_on_keyup": true, + "sleep": true }, "community_layouts": ["tkl_ansi"], "layouts": { |