summaryrefslogtreecommitdiffstats
path: root/keyboards/kudox
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/kudox
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/kudox')
-rw-r--r--keyboards/kudox/columner/config.h2
-rw-r--r--keyboards/kudox/columner/info.json3
-rw-r--r--keyboards/kudox/rev1/config.h2
-rw-r--r--keyboards/kudox/rev1/info.json3
-rw-r--r--keyboards/kudox/rev2/config.h2
-rw-r--r--keyboards/kudox/rev2/info.json3
-rw-r--r--keyboards/kudox/rev3/config.h2
-rw-r--r--keyboards/kudox/rev3/info.json3
8 files changed, 12 insertions, 8 deletions
diff --git a/keyboards/kudox/columner/config.h b/keyboards/kudox/columner/config.h
index 7506090b1e..5a73136286 100644
--- a/keyboards/kudox/columner/config.h
+++ b/keyboards/kudox/columner/config.h
@@ -21,8 +21,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kudox/columner/info.json b/keyboards/kudox/columner/info.json
index 7c106b1448..61ccbcde1a 100644
--- a/keyboards/kudox/columner/info.json
+++ b/keyboards/kudox/columner/info.json
@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D0"
},
+ "rgblight": {
+ "led_count": 14
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/kudox/rev1/config.h b/keyboards/kudox/rev1/config.h
index 80ac84c64f..2f5a7ceafe 100644
--- a/keyboards/kudox/rev1/config.h
+++ b/keyboards/kudox/rev1/config.h
@@ -21,8 +21,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kudox/rev1/info.json b/keyboards/kudox/rev1/info.json
index efb55bb989..815e53f2f2 100644
--- a/keyboards/kudox/rev1/info.json
+++ b/keyboards/kudox/rev1/info.json
@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D0"
},
+ "rgblight": {
+ "led_count": 14
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/kudox/rev2/config.h b/keyboards/kudox/rev2/config.h
index 80ac84c64f..2f5a7ceafe 100644
--- a/keyboards/kudox/rev2/config.h
+++ b/keyboards/kudox/rev2/config.h
@@ -21,8 +21,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kudox/rev2/info.json b/keyboards/kudox/rev2/info.json
index 9dab738c38..37ceadaea4 100644
--- a/keyboards/kudox/rev2/info.json
+++ b/keyboards/kudox/rev2/info.json
@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D0"
},
+ "rgblight": {
+ "led_count": 14
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/kudox/rev3/config.h b/keyboards/kudox/rev3/config.h
index 7506090b1e..5a73136286 100644
--- a/keyboards/kudox/rev3/config.h
+++ b/keyboards/kudox/rev3/config.h
@@ -21,8 +21,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#undef RGBLED_NUM
-#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kudox/rev3/info.json b/keyboards/kudox/rev3/info.json
index a7e73c84ae..556c0efdde 100644
--- a/keyboards/kudox/rev3/info.json
+++ b/keyboards/kudox/rev3/info.json
@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D0"
},
+ "rgblight": {
+ "led_count": 14
+ },
"ws2812": {
"pin": "D3"
},