summaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/keymaps/five_rows/rules.mk
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-09-17 18:39:16 -0700
committerDrashna Jael're <drashna@live.com>2021-09-17 18:39:16 -0700
commitc14abd8c14f512ca160f99a942734b0f652a453c (patch)
tree8a944dd15388348b4a7f8c79f5e6bf9061289d83 /keyboards/helix/rev2/keymaps/five_rows/rules.mk
parentefde8d657ac43d7b007437caa72dee96e149e94a (diff)
parent7c09b2667b49839d6c1a27133751d43642149a84 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/helix/rev2/keymaps/five_rows/rules.mk')
-rw-r--r--keyboards/helix/rev2/keymaps/five_rows/rules.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/keyboards/helix/rev2/keymaps/five_rows/rules.mk b/keyboards/helix/rev2/keymaps/five_rows/rules.mk
index 5f7e4668fc..8a091605ac 100644
--- a/keyboards/helix/rev2/keymaps/five_rows/rules.mk
+++ b/keyboards/helix/rev2/keymaps/five_rows/rules.mk
@@ -25,9 +25,11 @@ HELIX_ROWS = 5 # Helix Rows is 4 or 5
# LED_ANIMATIONS = yes # LED animations
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
+CUSTOM_DELAY = yes
+
ifneq ($(strip $(HELIX)),)
define KEYMAP_OPTION_PARSE
- # parse 'dispoff', 'consloe', 'na', 'ani', 'mini-ani'
+ # parse 'dispoff', 'consloe', 'na', 'ani', 'mini-ani', 'scan-api',
$(if $(SHOW_PARCE),$(info parse -$1-)) #debug
ifeq ($(strip $1),dispoff)
OLED_ENABLE = no
@@ -72,6 +74,11 @@ ifneq ($(strip $(HELIX)),)
ifneq ($(filter nolto no-lto no_lto,$(strip $1)),)
LTO_ENABLE = no
endif
+ ifeq ($(strip $1),scan-api)
+ # use DEBUG_MATRIX_SCAN_RATE
+ # see docs/newbs_testing_debugging.md
+ DEBUG_MATRIX_SCAN_RATE_ENABLE = api
+ endif
endef # end of KEYMAP_OPTION_PARSE
COMMA=,
@@ -95,3 +102,7 @@ endif
ifeq ($(strip $(OLED_ENABLE)), yes)
SRC += oled_display.c
endif
+
+ifeq ($(strip $(CUSTOM_DELAY)),yes)
+ SRC += matrix_output_unselect_delay.c
+endif