summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm60hsrgb
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/kprepublic/bm60hsrgb
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb')
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev1/config.h1
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev1/info.json3
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/config.h1
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/config.h b/keyboards/kprepublic/bm60hsrgb/rev1/config.h
index 8f4ab997f4..eebd3381d5 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev1/config.h
+++ b/keyboards/kprepublic/bm60hsrgb/rev1/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_MATRIX_LED_COUNT 69
# define RGBLED_NUM 69
# define RGB_MATRIX_KEYPRESSES
-# define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
// RGB Matrix Animation modes. Explicitly enabled
diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/info.json b/keyboards/kprepublic/bm60hsrgb/rev1/info.json
index 6c39b9ef12..f73af590d3 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev1/info.json
+++ b/keyboards/kprepublic/bm60hsrgb/rev1/info.json
@@ -14,6 +14,9 @@
"rgb_matrix": {
"driver": "WS2812"
},
+ "rgblight": {
+ "max_brightness": 180
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"],
"rows": ["B0", "B1", "B2", "B3", "E6"]
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/config.h b/keyboards/kprepublic/bm60hsrgb/rev2/config.h
index dcb7dfcd00..c2aafb9adc 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/config.h
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/config.h
@@ -16,7 +16,6 @@
#pragma once
//rgb light setting
-#define RGBLIGHT_LIMIT_VAL 150
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/info.json b/keyboards/kprepublic/bm60hsrgb/rev2/info.json
index 0aecea352c..bb6533b823 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/info.json
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/info.json
@@ -14,6 +14,9 @@
"rgb_matrix": {
"driver": "custom"
},
+ "rgblight": {
+ "max_brightness": 150
+ },
"matrix_pins": {
"cols": ["B2", "B3", "B7", "B0", "B1", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["E6", "D2", "D3", "D5", "F6"]