diff options
author | Rockman18 <rockman18.spam@gmail.com> | 2019-01-29 01:57:56 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-28 16:57:56 -0800 |
commit | df251d7a1387390383f12b3ff31d71d7e3de5a42 (patch) | |
tree | 8b0a5ca2fae4e8567ec857090d42925e3f347010 /quantum/debounce.h | |
parent | 0f507f01696eae0e8fe808d17a19db3f6d9e2ce4 (diff) |
Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769)
* [BACKLIGHT_CAPS_LOCK_INDICATOR] Use backlight toggling as Caps Lock LED
I've implemented this feature because S65-X doesn't have LED indicators
and the existing led_set_kb(usb_led) function try to use backlight as
indicator but that creates an inconsistency with backlight_config state.
- define `BACKLIGHT_CAPS_LOCK_INDICATOR` to enable Caps Lock indicator
using backlight (for keyboards without dedicated LED)
- Don't turn off LED indicators when suspend because backlight is
already turned off. Else led_set(0) will turn back on backlight.
- Documentation has been updated
* [BACKLIGHT_CAPS_LOCK_INDICATOR] Turn off all LED indicators except Caps Lock if BACKLIGHT_CAPS_LOCK_INDICATOR
* [BACKLIGHT_CAPS_LOCK] Rename BACKLIGHT_CAPS_LOCK_INDICATOR
* [BACKLIGHT_CAPS_LOCK] Use new IS_LED_ON method
Diffstat (limited to 'quantum/debounce.h')
0 files changed, 0 insertions, 0 deletions