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 clang-format changes 2019-08-30 15:01:52 -07:00
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 quantum/debounce: Added sym_pk debounce algorithm (#8587) 2020-04-11 21:29:48 +10:00
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 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
rgb_matrix_runners 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
serial_link 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
split_common add SPLIT_HAND_MATRIX_GRID support (#8685) 2020-07-04 15:04:47 +01:00
stm32 Initial arm serial partially based on old lets split code 2020-05-21 18:04:30 +01:00
template Remove DESCRIPTION (#9732) 2020-07-16 15:49:18 +10:00
tools
visualizer 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
api.c clang-format changes 2019-08-30 15:01:52 -07:00
api.h clang-format changes 2019-08-30 15:01:52 -07:00
color.c Run clang-format manually to fix recently changed files (#7934) 2020-01-19 16:30:34 +00:00
color.h Use White channel on RGBW LEDs (#7678) 2019-12-31 16:33:49 +00:00
config_common.h adds support for the atmega328 (#9043) 2020-06-10 22:23:11 +01:00
debounce.h
dip_switch.c format code according to conventions [skip ci] 2020-07-04 15:01:25 +00:00
dip_switch.h Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
dynamic_keymap.c format code according to conventions [skip ci] 2020-03-14 14:08:48 +00:00
dynamic_keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
dynamic_macro.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
encoder.c 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
encoder.h Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
fauxclicky.c clang-format changes 2019-08-30 15:01:52 -07:00
fauxclicky.h clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.c clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap_common.c Strip out features to allow minimum firmware sizes (#8645) 2020-04-01 21:06:22 +01:00
led_matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
led_matrix_drivers.c clang-format changes 2019-08-30 15:01:52 -07:00
led_tables.c Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
led_tables.h Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
ledmatrix.h clang-format changes 2019-08-30 15:01:52 -07:00
matrix.c format code according to conventions [skip ci] 2020-05-21 17:39:29 +00:00
matrix_common.c format code according to conventions [skip ci] 2020-07-04 15:01:25 +00:00
mcu_selection.mk adds support for the atmega328 (#9043) 2020-06-10 22:23:11 +01:00
pointing_device.c clang-format changes 2019-08-30 15:01:52 -07:00
pointing_device.h clang-format changes 2019-08-30 15:01:52 -07:00
quantum.c Make sendstring respect TAP_CODE_DELAY (#9623) 2020-07-02 18:08:19 +01:00
quantum.h Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352) 2020-07-16 22:27:55 +10:00
quantum_keycodes.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
rgb.h clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix.c 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
rgb_matrix.h Support IS31FL3741 and IS31FL3741A. (#9201) 2020-06-20 14:49:15 +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 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
rgblight.c Fix layer mask size for RGBLIGHT_LAYER_BLINK (#9260) 2020-06-01 17:12:08 -07:00
rgblight.h Add query functions for RGB Light and RGB Matrix (#8960) 2020-05-18 06:05:35 -07:00
rgblight_breathe_table.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_list.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_modes.h New RGB Lighting effect: Twinkle (#8887) 2020-05-09 01:56:16 -07:00
rgblight_post_config.h clang-format changes 2019-08-30 15:01:52 -07:00
send_string_keycodes.h Add *OPT aliases for *ALT keycodes and macros (#8714) 2020-04-12 11:37:55 -07:00
variable_trace.c clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.h clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.c clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.h clang-format changes 2019-08-30 15:01:52 -07:00
via.c Configurable VIA layout options default value (#8707) 2020-04-06 20:27:44 +01:00
via.h Configurable VIA layout options default value (#8707) 2020-04-06 20:27:44 +01:00
wpm.c Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
wpm.h Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00