skylark-qmk/users/konstantin
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
..
config.h [Keymap] Update personal userspace and keymaps (#9082) 2020-05-15 23:36:08 -07:00
konstantin.c [Keymap] Update personal userspace and keymaps (#8747) 2020-04-09 09:54:19 -07:00
konstantin.h Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352) 2020-07-16 22:27:55 +10:00
rgb.c [User] Update personal userspace and keymaps, add reactive underglow (#6410) 2019-07-25 12:31:40 -07:00
rgb.h [Keymap] Update personal userspace and keymaps (#8747) 2020-04-09 09:54:19 -07:00
rules.mk [Keymap] Update personal userspace and keymaps (#9082) 2020-05-15 23:36:08 -07:00
tap_dance.c [Keymap] Update personal userspace and keymaps (#6654) 2019-09-03 08:42:05 -07:00
tap_dance.h [Keymap] Update personal userspace and keymaps (#6654) 2019-09-03 08:42:05 -07:00
unicode.c [Keymap] Update personal userspace and keymaps (now with 4 spaces!) (#5774) 2019-05-06 08:41:45 -07:00
unicode.h [Keymap] Update personal userspace and keymaps (now with 4 spaces!) (#5774) 2019-05-06 08:41:45 -07:00