qmk_firmware/quantum
Konstantin Đorđević 61b64bb82a
Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352)
* Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros

* Add docs for IS_LAYER_ON/OFF(_STATE) macros

* Remove IS_LAYER_ON/OFF_STATE redefinition in userspace

* Run clang-format on quantum/quantum.h

* Redefine IS_LAYER_ON/OFF(_STATE) as aliases of existing layer functions

Also update relevant doc entries.

Needs testing to check if this breaks existing IS_LAYER_ON/OFF usage in certain
edge cases (namely calling the macros with 0).

* Reformat layer check function docs
2020-07-16 22:27:55 +10:00
..
api
audio
backlight
debounce
keymap_extras
process_keycode
rgb_matrix_animations
rgb_matrix_runners
serial_link
split_common
stm32
template
tools
visualizer
api.c
api.h
color.c
color.h
config_common.h
debounce.h
dip_switch.c
dip_switch.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_matrix.c
led_matrix_drivers.c
led_tables.c
led_tables.h
ledmatrix.h
matrix.c
matrix_common.c
mcu_selection.mk
pointing_device.c
pointing_device.h
quantum.c
quantum.h
quantum_keycodes.h
rgb.h
rgb_matrix.c
rgb_matrix.h
rgb_matrix_drivers.c
rgb_matrix_types.h
rgblight.c
rgblight.h
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h
rgblight_post_config.h
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h
wpm.c
wpm.h