summaryrefslogtreecommitdiff
path: root/keyboards/ubest
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/ubest
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/ubest')
-rw-r--r--keyboards/ubest/vn/config.h1
-rw-r--r--keyboards/ubest/vn/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/ubest/vn/config.h b/keyboards/ubest/vn/config.h
index 3e6c6dc0e5..fd3c59f509 100644
--- a/keyboards/ubest/vn/config.h
+++ b/keyboards/ubest/vn/config.h
@@ -20,7 +20,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_LIMIT_VAL 240 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/info.json
index 0183f09afe..4180f6f5ec 100644
--- a/keyboards/ubest/vn/info.json
+++ b/keyboards/ubest/vn/info.json
@@ -19,6 +19,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgblight": {
+ "max_brightness": 240
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B1",