summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/adelais/rgb_led
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/mechlovin/adelais/rgb_led
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mechlovin/adelais/rgb_led')
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/config.h3
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/info.json2
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev3/config.h3
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev3/info.json2
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
index 59a4427981..957e845a35 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
@@ -10,9 +10,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 8
-#define RGBLIGHT_SAT_STEP 8
-#define RGBLIGHT_VAL_STEP 8
//rgb matrix setting
// This is a 7-bit address, that gets left-shifted and bit 0
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
index e3a711736e..82a5d86dc2 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
@@ -17,6 +17,8 @@
]
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 23
},
"ws2812": {
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
index 6680bb246f..44c5e2dad0 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
@@ -30,9 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 8
-#define RGBLIGHT_SAT_STEP 8
-#define RGBLIGHT_VAL_STEP 8
#endif
#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
index a4b71a1938..2b3cad5b0b 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
+++ b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
@@ -24,6 +24,8 @@
"scroll_lock": "C15"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 23
},
"ws2812": {