summaryrefslogtreecommitdiff
path: root/keyboards/kapl
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/kapl
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/kapl')
-rw-r--r--keyboards/kapl/rev1/config.h2
-rw-r--r--keyboards/kapl/rev1/info.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h
index f580f94c9a..e63f8b8602 100644
--- a/keyboards/kapl/rev1/config.h
+++ b/keyboards/kapl/rev1/config.h
@@ -5,8 +5,6 @@
/* Select hand configuration */
#define MASTER_LEFT
-#define RGBLED_NUM 88
-
#define RGB_MATRIX_LED_COUNT 88
#define RGB_MATRIX_SPLIT { 44, 44 }
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json
index cab51ec837..d94c146765 100644
--- a/keyboards/kapl/rev1/info.json
+++ b/keyboards/kapl/rev1/info.json
@@ -15,6 +15,7 @@
"driver": "WS2812"
},
"rgblight": {
+ "led_count": 88,
"max_brightness": 120,
"split_count": [44, 44]
},