summaryrefslogtreecommitdiffstats
path: root/keyboards/bm68rgb
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/bm68rgb
parent23becac3a650ac06e202bac8158b058a8b7b48f2 (diff)
Limit RGB max brightness on KPrepublic BM-series keyboards (#13132)
Diffstat (limited to 'keyboards/bm68rgb')
-rw-r--r--keyboards/bm68rgb/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/bm68rgb/config.h b/keyboards/bm68rgb/config.h
index 1923192e5f..48844c295f 100644
--- a/keyboards/bm68rgb/config.h
+++ b/keyboards/bm68rgb/config.h
@@ -56,8 +56,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// The number of LEDs connected
#define DRIVER_LED_TOTAL 74
#ifdef RGB_DI_PIN
- #define RGBLED_NUM 74
- #define RGB_MATRIX_KEYPRESSES // reacts to keypresses
+# define RGBLED_NUM 74
+# define RGB_MATRIX_KEYPRESSES // reacts to 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
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */