summaryrefslogtreecommitdiff
path: root/keyboards/bm40hsrgb
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/bm40hsrgb
parent23becac3a650ac06e202bac8158b058a8b7b48f2 (diff)
Limit RGB max brightness on KPrepublic BM-series keyboards (#13132)
Diffstat (limited to 'keyboards/bm40hsrgb')
-rwxr-xr-xkeyboards/bm40hsrgb/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/bm40hsrgb/config.h b/keyboards/bm40hsrgb/config.h
index 167a5667a4..dd66d3b396 100755
--- a/keyboards/bm40hsrgb/config.h
+++ b/keyboards/bm40hsrgb/config.h
@@ -48,8 +48,10 @@
#define RGB_DI_PIN E2
#define DRIVER_LED_TOTAL 53
#ifdef RGB_DI_PIN
- #define RGB_MATRIX_KEYPRESSES // reacts to keypresses
+# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
+# define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
#endif
#ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
#endif