diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2022-04-22 06:33:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 14:33:08 -0700 |
commit | 8f692e22e3ce176671bbdde51478ce0e6a57875b (patch) | |
tree | 88f676a2390648c72a0032e21384e3a41cf0bd8e /keyboards/helix/rev2/override_helix_options.mk-maintenance | |
parent | 969c68a9ad1474f578e69469807cf5e3405cd3ae (diff) | |
download | qmk_firmware-8f692e22e3ce176671bbdde51478ce0e6a57875b.tar.gz qmk_firmware-8f692e22e3ce176671bbdde51478ce0e6a57875b.zip |
Helix/rev2 move to split common (#16723)
Diffstat (limited to 'keyboards/helix/rev2/override_helix_options.mk-maintenance')
-rw-r--r-- | keyboards/helix/rev2/override_helix_options.mk-maintenance | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/helix/rev2/override_helix_options.mk-maintenance b/keyboards/helix/rev2/override_helix_options.mk-maintenance new file mode 100644 index 0000000000..56dee8ce78 --- /dev/null +++ b/keyboards/helix/rev2/override_helix_options.mk-maintenance @@ -0,0 +1,46 @@ +ifneq ($(strip $(HELIX)),) + $(info -------------------------) + $(info override_helix_options.mk) + $(info -------------------------) +endif + +define HELIX_OVERRIDE_PARSE + ifeq ($(strip $1),back) + LED_BACK_ENABLE = yes + LED_UNDERGLOW_ENABLE = no + endif + ifeq ($(strip $1),under) + LED_BACK_ENABLE = no + LED_UNDERGLOW_ENABLE = yes + endif + ifneq ($(filter led-off led_off noback no-back nounder no-under,$(strip $1)),) + LED_BACK_ENABLE = no + LED_UNDERGLOW_ENABLE = no + endif + ifneq ($(filter core-oled core_oled newoled new-oled olednew oled-new,$(strip $1)),) + OLED_ENABLE = yes + OLED_SELECT = core + endif + ifneq ($(filter local-oled local_oled oldoled old-oled oledold oled-old,$(strip $1)),) + OLED_ENABLE = yes + OLED_SELECT = local + endif + ifneq ($(filter sc split-common split_common,$(strip $1)),) + SPLIT_KEYBOARD = yes + endif + ifneq ($(filter nosc no-sc no-split-common no-split_common,$(strip $1)),) + SPLIT_KEYBOARD = no + endif + ifeq ($(strip $1),scan) + DEBUG_MATRIX_SCAN_RATE_ENABLE = yes + endif + ifeq ($(strip $1),scan-api) + DEBUG_MATRIX_SCAN_RATE_ENABLE = api + endif + ifeq ($(strip $1),lto) + LTO_ENABLE = yes + endif + ifneq ($(filter nolto no-lto no_lto,$(strip $1)),) + LTO_ENABLE = no + endif +endef # end of HELIX_OVERRIDE_PARSE |