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 Allow for user song list (#9281) 2020-07-16 16:45:50 +10:00
backlight Refactor ARM backlight (#7959) 2020-07-10 09:12:40 +01:00
debounce
keymap_extras Fixed CA_DOTA key code (#9722) 2020-07-16 15:50:51 +10:00
process_keycode format code according to conventions [skip ci] 2020-07-07 21:43:51 +00:00
rgb_matrix_animations
rgb_matrix_runners
serial_link
split_common add SPLIT_HAND_MATRIX_GRID support (#8685) 2020-07-04 15:04:47 +01:00
stm32
template Remove DESCRIPTION (#9732) 2020-07-16 15:49:18 +10:00
tools
visualizer
api.c
api.h
color.c
color.h
config_common.h
debounce.h
dip_switch.c format code according to conventions [skip ci] 2020-07-04 15:01:25 +00:00
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_common.c
keymap.h
led_matrix_drivers.c
led_matrix.c
led_tables.c
led_tables.h
ledmatrix.h
matrix_common.c format code according to conventions [skip ci] 2020-07-04 15:01:25 +00:00
matrix.c
mcu_selection.mk
pointing_device.c
pointing_device.h
quantum_keycodes.h
quantum.c
quantum.h Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352) 2020-07-16 22:27:55 +10:00
rgb_matrix_drivers.c Fix RGB Matrix using RGBW WS2812 LEDs (#9705) 2020-07-13 23:28:42 +01:00
rgb_matrix_types.h
rgb_matrix.c
rgb_matrix.h
rgb.h
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h
rgblight_post_config.h
rgblight.c
rgblight.h
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h
wpm.c
wpm.h