diff options
author | Joel Challis <git@zvecr.com> | 2024-01-02 03:05:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 03:05:08 +0000 |
commit | 60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc (patch) | |
tree | 586a1474044b1349d540c711d3bf510b86640b0a /keyboards/akko/top40 | |
parent | 0a6913b68274c03302b09466a79b99efffd35e59 (diff) |
Migrate RGB Matrix config to info.json - A (#22798)
Diffstat (limited to 'keyboards/akko/top40')
-rw-r--r-- | keyboards/akko/top40/config.h | 7 | ||||
-rw-r--r-- | keyboards/akko/top40/info.json | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/akko/top40/config.h b/keyboards/akko/top40/config.h index 36948fe1d3..a23cf6db92 100644 --- a/keyboards/akko/top40/config.h +++ b/keyboards/akko/top40/config.h @@ -37,11 +37,4 @@ #define I2C1_OPMODE OPMODE_I2C #define I2C1_CLOCK_SPEED 400000 /* 400000 */ -#define RGB_MATRIX_LED_COUNT 76 - -#define RGB_MATRIX_SLEEP // turn off effects when suspended -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_KEYRELEASES #define RGB_TRIGGER_ON_KEYDOWN - diff --git a/keyboards/akko/top40/info.json b/keyboards/akko/top40/info.json index 243952ccc8..183c9242f4 100644 --- a/keyboards/akko/top40/info.json +++ b/keyboards/akko/top40/info.json @@ -139,7 +139,9 @@ {"flags": 2, "x":185, "y":64}, {"flags": 2, "x":205, "y":64}, {"flags": 2, "x":224, "y":64} - ] + ], + "react_on_keyup": true, + "sleep": true }, "layouts": { "LAYOUT": { |