diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2020-07-16 14:27:55 +0200 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-08-08 22:46:45 -0700 |
commit | 6b318bd420076885c2f370aff64cb2342da7b002 (patch) | |
tree | 44c8ffa9723e77fca7204d29ad08fc6c7367bcc0 /quantum/process_keycode | |
parent | 281a94ceda8fc332471b8d1a4fdb0d7f9486a603 (diff) |
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
Diffstat (limited to 'quantum/process_keycode')
0 files changed, 0 insertions, 0 deletions