summaryrefslogtreecommitdiff
path: root/keyboards/akko/5108
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-02 03:05:08 +0000
committerGitHub <noreply@github.com>2024-01-02 03:05:08 +0000
commit60f0132bd56bdd6b3eda5ca6088e45be7a4a20bc (patch)
tree586a1474044b1349d540c711d3bf510b86640b0a /keyboards/akko/5108
parent0a6913b68274c03302b09466a79b99efffd35e59 (diff)
Migrate RGB Matrix config to info.json - A (#22798)
Diffstat (limited to 'keyboards/akko/5108')
-rw-r--r--keyboards/akko/5108/config.h6
-rw-r--r--keyboards/akko/5108/info.json4
2 files changed, 3 insertions, 7 deletions
diff --git a/keyboards/akko/5108/config.h b/keyboards/akko/5108/config.h
index 0f205d4b1f..6a509733d6 100644
--- a/keyboards/akko/5108/config.h
+++ b/keyboards/akko/5108/config.h
@@ -40,10 +40,4 @@
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
-#define RGB_MATRIX_LED_COUNT 108
-
#define RGB_TRIGGER_ON_KEYDOWN
-#define RGB_MATRIX_SLEEP // turn off effects when suspended
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_KEYRELEASES
diff --git a/keyboards/akko/5108/info.json b/keyboards/akko/5108/info.json
index 662a949a53..5e97d151c3 100644
--- a/keyboards/akko/5108/info.json
+++ b/keyboards/akko/5108/info.json
@@ -176,7 +176,9 @@
{ "flags": 4, "matrix": [5, 16], "x": 176, "y": 64 },
{ "flags": 4, "matrix": [5, 18], "x": 199, "y": 64 },
{ "flags": 4, "matrix": [5, 19], "x": 214, "y": 64 }
- ]
+ ],
+ "react_on_keyup": true,
+ "sleep": true
},
"layouts": {
"LAYOUT": {