summaryrefslogtreecommitdiff
path: root/keyboards/adpenrose/akemipad
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/adpenrose/akemipad
parent0a6913b68274c03302b09466a79b99efffd35e59 (diff)
Migrate RGB Matrix config to info.json - A (#22798)
Diffstat (limited to 'keyboards/adpenrose/akemipad')
-rw-r--r--keyboards/adpenrose/akemipad/config.h13
-rw-r--r--keyboards/adpenrose/akemipad/info.json9
2 files changed, 8 insertions, 14 deletions
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"],