diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-05-06 17:41:45 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-06 08:41:45 -0700 |
commit | cb1935aaff0fed118954996fc7afb722b6ed21be (patch) | |
tree | 753712b2dff56ca41675a99af8f3ffcaf58b85b9 /users/konstantin/rules.mk | |
parent | 8a9c90ad78305a1d76663fcb973a1a2ae7177297 (diff) | |
download | qmk_firmware-cb1935aaff0fed118954996fc7afb722b6ed21be.tar.gz qmk_firmware-cb1935aaff0fed118954996fc7afb722b6ed21be.zip |
[Keymap] Update personal userspace and keymaps (now with 4 spaces!) (#5774)
* Add FnLk to Melody96 bottom row
* Update conditional in userspace makefile
Thanks @drashna
* Add F keys to Melody96 Fn layer
* Add FN_ESC alias to userspace
* Update KBD6X keymap
* Fix RGB_MATRIX_ENABLE constant name in #if
* Remove trailing \ from LAYOUT macro calls
* Set RGB mode on EEPROM reset in KBD6X
* Swap right and middle mouse buttons in KBD6X
* Rearrange RGB controls in KBD6X
* Update keycode aliases, replace CLEAR with DEL_NXT in KBD6X
Add Clear to KBD6X as RCtrl+`
* Convert code to 4 space indents
* Tweak RCTRL layer functionality
* Replace NUMPAD custom keycode with layer state logic
* Update RGB_MATRIX_ENABLE check
Co-Authored-By: vomindoraan <vomindoraan@gmail.com>
Diffstat (limited to 'users/konstantin/rules.mk')
-rw-r--r-- | users/konstantin/rules.mk | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/users/konstantin/rules.mk b/users/konstantin/rules.mk index 6bda030fb0..1799d2be50 100644 --- a/users/konstantin/rules.mk +++ b/users/konstantin/rules.mk @@ -1,12 +1,15 @@ SRC += konstantin.c -ifneq (,$(filter yes,$(RGBLIGHT_ENABLE) $(RGB_MATRIX_ENABLE))) # if either is yes - SRC += rgb.c +ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) + SRC += rgb.c +endif +ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) + SRC += rgb.c endif ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) - SRC += tap_dance.c + SRC += tap_dance.c endif -ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE))) # if either is yes - SRC += unicode.c +ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE))) + SRC += unicode.c endif EXTRAFLAGS += -flto |