summaryrefslogtreecommitdiffstats
path: root/keyboards/horrortroll
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/horrortroll
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/horrortroll')
-rw-r--r--keyboards/horrortroll/chinese_pcb/black_e65/config.h3
-rw-r--r--keyboards/horrortroll/chinese_pcb/black_e65/info.json3
-rw-r--r--keyboards/horrortroll/lemon40/config.h4
-rw-r--r--keyboards/horrortroll/lemon40/info.json3
4 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h
index de5824e222..0e58118e05 100644
--- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h
+++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h
@@ -17,9 +17,6 @@
#pragma once
#ifdef RGBLIGHT_ENABLE
- /* RGB Lighting config */
- #define RGBLED_NUM 24
-
/* RGB Lighting effect */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json
index 2ceb38706f..9de9b1decc 100644
--- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json
+++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json
@@ -21,6 +21,9 @@
"indicators": {
"caps_lock": "C7"
},
+ "rgblight": {
+ "led_count": 24
+ },
"ws2812": {
"pin": "E2"
},
diff --git a/keyboards/horrortroll/lemon40/config.h b/keyboards/horrortroll/lemon40/config.h
index 9037487173..6867922fd3 100644
--- a/keyboards/horrortroll/lemon40/config.h
+++ b/keyboards/horrortroll/lemon40/config.h
@@ -18,10 +18,6 @@
/* RGB light config */
#ifdef RGBLIGHT_ENABLE
-
- /* RGB light pin */
- #define RGBLED_NUM 15
-
/* RGB light effect */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/horrortroll/lemon40/info.json b/keyboards/horrortroll/lemon40/info.json
index f4b4c383c9..29530b3757 100644
--- a/keyboards/horrortroll/lemon40/info.json
+++ b/keyboards/horrortroll/lemon40/info.json
@@ -9,6 +9,9 @@
"device_version": "0.0.1",
"force_nkro": true
},
+ "rgblight": {
+ "led_count": 15
+ },
"ws2812": {
"pin": "F4"
},