summaryrefslogtreecommitdiff
path: root/keyboards/handwired/d48
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/handwired/d48
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/handwired/d48')
-rw-r--r--keyboards/handwired/d48/config.h3
-rw-r--r--keyboards/handwired/d48/info.json2
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/handwired/d48/config.h b/keyboards/handwired/d48/config.h
index fbf5fb3a26..8e3cd43739 100644
--- a/keyboards/handwired/d48/config.h
+++ b/keyboards/handwired/d48/config.h
@@ -2,9 +2,6 @@
/* RGB Underglow */
#ifdef RGBLIGHT_ENABLE
-#define RGBLIGHT_HUE_STEP 8
-#define RGBLIGHT_SAT_STEP 8
-#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/handwired/d48/info.json b/keyboards/handwired/d48/info.json
index 48a373b596..8e2bda7218 100644
--- a/keyboards/handwired/d48/info.json
+++ b/keyboards/handwired/d48/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 14
},
"ws2812": {