Limit backlight brightness

This commit is contained in:
Jeremy Soller 2020-10-20 13:48:55 -06:00
parent f4b03b7e34
commit 98ee802e3c
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -27,8 +27,11 @@
#define DEBOUNCE 5
#define RGB_DI_PIN E2
#define RGBLED_NUM 84
#define RGBLED_NUM 84
#define RGBLIGHT_ANIMATIONS
// Limit brightness to support USB-A at 0.5A
//TODO: do this dynamically based on power source
#define RGBLIGHT_LIMIT_VAL 176
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE