mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Limit backlight brightness
This commit is contained in:
parent
f4b03b7e34
commit
98ee802e3c
@ -27,8 +27,11 @@
|
|||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
#define RGB_DI_PIN E2
|
#define RGB_DI_PIN E2
|
||||||
#define RGBLED_NUM 84
|
#define RGBLED_NUM 84
|
||||||
#define RGBLIGHT_ANIMATIONS
|
#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 */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user