summaryrefslogtreecommitdiff
path: root/keyboards/jacky_studio/s7_elephant
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/jacky_studio/s7_elephant
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/jacky_studio/s7_elephant')
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/config.h3
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/info.json2
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/config.h3
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/info.json2
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/config.h b/keyboards/jacky_studio/s7_elephant/rev1/config.h
index 60f9abf112..19f04d522c 100644
--- a/keyboards/jacky_studio/s7_elephant/rev1/config.h
+++ b/keyboards/jacky_studio/s7_elephant/rev1/config.h
@@ -26,9 +26,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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/info.json b/keyboards/jacky_studio/s7_elephant/rev1/info.json
index 93031bede7..556ddd59bb 100644
--- a/keyboards/jacky_studio/s7_elephant/rev1/info.json
+++ b/keyboards/jacky_studio/s7_elephant/rev1/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 2,
"sleep": true
},
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/config.h b/keyboards/jacky_studio/s7_elephant/rev2/config.h
index 60f9abf112..19f04d522c 100644
--- a/keyboards/jacky_studio/s7_elephant/rev2/config.h
+++ b/keyboards/jacky_studio/s7_elephant/rev2/config.h
@@ -26,9 +26,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
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/info.json b/keyboards/jacky_studio/s7_elephant/rev2/info.json
index b95371ebf1..f240959899 100644
--- a/keyboards/jacky_studio/s7_elephant/rev2/info.json
+++ b/keyboards/jacky_studio/s7_elephant/rev2/info.json
@@ -13,6 +13,8 @@
"rows": ["B0", "B1", "B2", "B3", "B7"]
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 2,
"sleep": true
},