summaryrefslogtreecommitdiff
path: root/keyboards/bm60rgb
diff options
context:
space:
mode:
authorDaniil Yastremskiy <Catharsis@post.cz>2021-08-09 21:32:35 +0300
committerGitHub <noreply@github.com>2021-08-09 11:32:35 -0700
commit26ea090190b815862f108903e5f41f20c6d16d66 (patch)
tree665542d8871b10de487eead9a76e99eca364bc2d /keyboards/bm60rgb
parent23becac3a650ac06e202bac8158b058a8b7b48f2 (diff)
Limit RGB max brightness on KPrepublic BM-series keyboards (#13132)
Diffstat (limited to 'keyboards/bm60rgb')
-rw-r--r--keyboards/bm60rgb/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/bm60rgb/config.h b/keyboards/bm60rgb/config.h
index 3eee00e51e..bbb38e24fd 100644
--- a/keyboards/bm60rgb/config.h
+++ b/keyboards/bm60rgb/config.h
@@ -50,8 +50,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN E2
#define DRIVER_LED_TOTAL 69
#ifdef RGB_DI_PIN
- #define RGBLED_NUM 69
- #define RGB_MATRIX_KEYPRESSES
+# define RGBLED_NUM 69
+# define RGB_MATRIX_KEYPRESSES
+# define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
+#endif
+#ifdef RGB_MATRIX_ENABLE
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
#endif
// generated by KBFirmware JSON to QMK Parser