diff options
author | Daniil Yastremskiy <Catharsis@post.cz> | 2021-08-09 21:32:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 11:32:35 -0700 |
commit | 26ea090190b815862f108903e5f41f20c6d16d66 (patch) | |
tree | 665542d8871b10de487eead9a76e99eca364bc2d /keyboards/bm40hsrgb/config.h | |
parent | 23becac3a650ac06e202bac8158b058a8b7b48f2 (diff) | |
download | qmk_firmware-26ea090190b815862f108903e5f41f20c6d16d66.tar.gz qmk_firmware-26ea090190b815862f108903e5f41f20c6d16d66.zip |
Limit RGB max brightness on KPrepublic BM-series keyboards (#13132)
Diffstat (limited to 'keyboards/bm40hsrgb/config.h')
-rwxr-xr-x | keyboards/bm40hsrgb/config.h | 4 |
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 |