diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2022-02-22 01:30:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 08:30:49 -0800 |
commit | c204c735af9fc5bf2438ca4fedfc8914529d660e (patch) | |
tree | 4fbe2d0d5da4a80272303c65d1859f59bc76c82b /keyboards/helix/pico/override_helix_options.mk-maintenance | |
parent | f30f963a0b6ccaa151fe83dd8302fa1f6829086e (diff) |
Helix/pico move to split_common (#16418)
Diffstat (limited to 'keyboards/helix/pico/override_helix_options.mk-maintenance')
-rw-r--r-- | keyboards/helix/pico/override_helix_options.mk-maintenance | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/keyboards/helix/pico/override_helix_options.mk-maintenance b/keyboards/helix/pico/override_helix_options.mk-maintenance new file mode 100644 index 0000000000..0ff930957e --- /dev/null +++ b/keyboards/helix/pico/override_helix_options.mk-maintenance @@ -0,0 +1,42 @@ +# +# This file is not normally used. It is used for maintenance testing purposes. +# To use it, do the following: +# +# $ cp override_helix_options.mk-maintenance override_helix_options.mk +# +$(info -------------------------) +$(info override_helix_options.mk) +$(info -------------------------) + +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 noled led-off led_off,$(strip $1)),) + LED_BACK_ENABLE = no + LED_UNDERGLOW_ENABLE = no + endif + ifneq ($(filter noaudio audio-off audio_off,$(strip $1)),) + AUDIO_ENABLE = no + endif + ifneq ($(filter audio audio-on audio_on,$(strip $1)),) + AUDIO_ENABLE = yes + 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 +endef # end of HELIX_OVERRIDE_PARSE |