1
0
Fork 0
qmk_firmware/quantum
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
..
api
audio
keymap_extras
process_keycode
serial_link
split_common
stm32
template Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955) 2019-01-27 00:28:40 -08:00
tools
visualizer
api.c
api.h
color.c
color.h
config_common.h
debounce.c
debounce.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
encoder.c
encoder.h
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c
led_tables.c
led_tables.h
matrix.c Fix 1<col instead of 1<<col typo in matrix_is_on() 2019-01-27 08:37:26 -08:00
mcu_selection.mk
pincontrol.h
pointing_device.c
pointing_device.h
quantum.c Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769) 2019-01-28 16:57:56 -08:00
quantum.h move #include "rgb.h" from quantum.h to quantum.c 2019-01-25 13:38:12 -08:00
quantum_keycodes.h
rgb.h
rgb_matrix.c
rgb_matrix.h
rgb_matrix_drivers.c
rgblight.c Practice60 RGB and PWM Backlight (#4929) 2019-01-28 16:40:02 -08:00
rgblight.h
rgblight_list.h
rgblight_reconfig.h
rgblight_types.h
send_string_keycodes.h
variable_trace.c
variable_trace.h