summaryrefslogtreecommitdiff
path: root/keyboards/jian
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/jian
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/jian')
-rw-r--r--keyboards/jian/nsrev2/config.h2
-rw-r--r--keyboards/jian/nsrev2/info.json1
-rw-r--r--keyboards/jian/rev1/config.h3
-rw-r--r--keyboards/jian/rev1/info.json1
-rw-r--r--keyboards/jian/rev2/config.h3
-rw-r--r--keyboards/jian/rev2/info.json1
6 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h
index af8d6aa9ad..324c04e35f 100644
--- a/keyboards/jian/nsrev2/config.h
+++ b/keyboards/jian/nsrev2/config.h
@@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#define RGBLIGHT_VAL_STEP 4
#endif
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
#define USB_MAX_POWER_CONSUMPTION 400
diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json
index 1f250130fc..d1ca0639bb 100644
--- a/keyboards/jian/nsrev2/info.json
+++ b/keyboards/jian/nsrev2/info.json
@@ -14,6 +14,7 @@
"breathing": true
},
"rgblight": {
+ "hue_steps": 10,
"led_count": 7,
"sleep": true,
"split": true
diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h
index 8f8ff123db..22c9bf303e 100644
--- a/keyboards/jian/rev1/config.h
+++ b/keyboards/jian/rev1/config.h
@@ -84,9 +84,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
#define USB_MAX_POWER_CONSUMPTION 400
#else
diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json
index 911a50704e..c1cde6e7e8 100644
--- a/keyboards/jian/rev1/info.json
+++ b/keyboards/jian/rev1/info.json
@@ -13,6 +13,7 @@
"levels": 5
},
"rgblight": {
+ "hue_steps": 10,
"led_count": 7,
"sleep": true,
"split": true
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h
index 81d8212ab6..4d86f1659e 100644
--- a/keyboards/jian/rev2/config.h
+++ b/keyboards/jian/rev2/config.h
@@ -36,9 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
#define USB_MAX_POWER_CONSUMPTION 400
#else
diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json
index 77fb077804..90cbefc334 100644
--- a/keyboards/jian/rev2/info.json
+++ b/keyboards/jian/rev2/info.json
@@ -13,6 +13,7 @@
"levels": 5
},
"rgblight": {
+ "hue_steps": 10,
"led_count": 7,
"sleep": true,
"split": true