diff options
author | yiancar <yiangosyiangou@cytanet.com.cy> | 2018-07-03 19:52:04 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-07-03 12:52:04 -0400 |
commit | a7df902734b6aa8975e3a62a07ddb5544fd4ae85 (patch) | |
tree | 744f176d5abdfd98907a7baf8fa4dcfd33718f7b /keyboards/hs60 | |
parent | dad851d47dd81dfd9829581bf61ba76e5ad30061 (diff) |
Addition of hard brigtness limit for RGB_Matrix (#3299)
* Addition of hard brigtness limit for RGB_Matrix
- Added a define "RGB_MATRIX_MAXIMUM_BRIGHTNESS" to enable hard limiting the maximum brightness for rgb_matrix
- Used the above define to limit the maximum brigthness of HS60 for better stability
* Added docs for new rgb_matrix define
* Addition of check for maximum brightness
Diffstat (limited to 'keyboards/hs60')
-rw-r--r-- | keyboards/hs60/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/hs60/config.h b/keyboards/hs60/config.h index d37fc8990d..31f7c07901 100644 --- a/keyboards/hs60/config.h +++ b/keyboards/hs60/config.h @@ -127,6 +127,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended #define RGB_MATRIX_SKIP_FRAMES 0 +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 215 #define DRIVER_ADDR_1 0b1110100 #define DRIVER_ADDR_2 0b1110101 |