summaryrefslogtreecommitdiff
path: root/keyboards/the_royal
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/the_royal
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/the_royal')
-rw-r--r--keyboards/the_royal/liminal/config.h4
-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, 7 deletions
diff --git a/keyboards/the_royal/liminal/config.h b/keyboards/the_royal/liminal/config.h
index 6632bb858a..fa9a83d08e 100644
--- a/keyboards/the_royal/liminal/config.h
+++ b/keyboards/the_royal/liminal/config.h
@@ -4,7 +4,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-#define RGBLIGHT_HUE_STEP 6
-#define RGBLIGHT_SAT_STEP 4
-#define RGBLIGHT_VAL_STEP 4
diff --git a/keyboards/the_royal/liminal/info.json b/keyboards/the_royal/liminal/info.json
index 1ee4a78c53..046d535e4a 100644
--- a/keyboards/the_royal/liminal/info.json
+++ b/keyboards/the_royal/liminal/info.json
@@ -9,6 +9,9 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "hue_steps": 6,
+ "saturation_steps": 4,
+ "brightness_steps": 4,
"led_count": 1
},
"ws2812": {
diff --git a/keyboards/the_royal/schwann/config.h b/keyboards/the_royal/schwann/config.h
index ca3ee0662c..85cbd30a42 100644
--- a/keyboards/the_royal/schwann/config.h
+++ b/keyboards/the_royal/schwann/config.h
@@ -15,6 +15,3 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 6
-#define RGBLIGHT_SAT_STEP 4
-#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/info.json
index 382217f35c..2748dac98d 100644
--- a/keyboards/the_royal/schwann/info.json
+++ b/keyboards/the_royal/schwann/info.json
@@ -9,6 +9,9 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "hue_steps": 6,
+ "saturation_steps": 4,
+ "brightness_steps": 8,
"led_count": 8
},
"ws2812": {