qmk-firmware/tmk_core/common/avr
Rockman18 df251d7a13 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
2019-01-28 16:57:56 -08:00
..
bootloader.c Fix compile issues for atmega328p 2018-05-20 21:30:14 -07:00
bootloader_size.c Updates bootloader settings, adds file size check (#2029) 2017-11-27 23:08:21 -05:00
sleep_led.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
suspend.c Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769) 2019-01-28 16:57:56 -08:00
suspend_avr.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
timer.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
timer_avr.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
xprintf.S Normalize line endings 2016-08-27 18:40:50 +03:00
xprintf.h Added User Print - A "light" console out option (#8) 2016-09-07 23:50:58 -05:00