summaryrefslogtreecommitdiff
path: root/keyboards/the_royal
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/the_royal
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/the_royal')
-rw-r--r--keyboards/the_royal/liminal/config.h3
-rw-r--r--keyboards/the_royal/liminal/info.json3
-rw-r--r--keyboards/the_royal/schwann/config.h3
-rw-r--r--keyboards/the_royal/schwann/info.json3
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/the_royal/liminal/config.h b/keyboards/the_royal/liminal/config.h
index 02c222b2b8..6632bb858a 100644
--- a/keyboards/the_royal/liminal/config.h
+++ b/keyboards/the_royal/liminal/config.h
@@ -5,9 +5,6 @@
5/* Locking resynchronize hack */ 5/* Locking resynchronize hack */
6#define LOCKING_RESYNC_ENABLE 6#define LOCKING_RESYNC_ENABLE
7 7
8/* ws2812 RGB LED */
9#define RGBLED_NUM 1 // Number of LEDs
10
11#define RGBLIGHT_HUE_STEP 6 8#define RGBLIGHT_HUE_STEP 6
12#define RGBLIGHT_SAT_STEP 4 9#define RGBLIGHT_SAT_STEP 4
13#define RGBLIGHT_VAL_STEP 4 10#define RGBLIGHT_VAL_STEP 4
diff --git a/keyboards/the_royal/liminal/info.json b/keyboards/the_royal/liminal/info.json
index c62699df84..1ee4a78c53 100644
--- a/keyboards/the_royal/liminal/info.json
+++ b/keyboards/the_royal/liminal/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x0003", 8 "pid": "0x0003",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": {
12 "led_count": 1
13 },
11 "ws2812": { 14 "ws2812": {
12 "pin": "D4" 15 "pin": "D4"
13 }, 16 },
diff --git a/keyboards/the_royal/schwann/config.h b/keyboards/the_royal/schwann/config.h
index 8cfda8f8e5..ca3ee0662c 100644
--- a/keyboards/the_royal/schwann/config.h
+++ b/keyboards/the_royal/schwann/config.h
@@ -5,9 +5,6 @@
5/* Locking resynchronize hack */ 5/* Locking resynchronize hack */
6#define LOCKING_RESYNC_ENABLE 6#define LOCKING_RESYNC_ENABLE
7 7
8/* ws2812 RGB LED */
9#define RGBLED_NUM 8 // Number of LEDs
10
11#define RGBLIGHT_EFFECT_BREATHING 8#define RGBLIGHT_EFFECT_BREATHING
12#define RGBLIGHT_EFFECT_RAINBOW_MOOD 9#define RGBLIGHT_EFFECT_RAINBOW_MOOD
13#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 10#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/info.json
index df765f747c..382217f35c 100644
--- a/keyboards/the_royal/schwann/info.json
+++ b/keyboards/the_royal/schwann/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x3521", 8 "pid": "0x3521",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": {
12 "led_count": 8
13 },
11 "ws2812": { 14 "ws2812": {
12 "pin": "B3" 15 "pin": "B3"
13 }, 16 },