jlj-qmk/tmk_core/common
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
..
arm_atsam
avr Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769) 2019-01-28 16:57:56 -08:00
chibios
mbed
test
action_code.h
action_layer.c
action_layer.h
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c
action_util.h
action.c
action.h
backlight.c
backlight.h
bootloader.h
bootmagic.c
bootmagic.h
command.c
command.h
debug.c
debug.h
eeconfig.c
eeconfig.h
eeprom.h
host_driver.h
host.c
host.h
keyboard.c
keyboard.h
keycode.h
led.h
magic.c
magic.h
matrix.h
mousekey.c
mousekey.h
nodebug.h
print.c
print.h
progmem.h
raw_hid.h
report.c
report.h
sendchar_null.c
sendchar_uart.c
sendchar.h
sleep_led.h
suspend.h
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h