summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorJeremy Cowgar <jeremy@cowgar.com>2017-09-17 07:33:28 +0200
committerJack Humbert <jack.humb@gmail.com>2017-09-18 23:08:18 +0200
commitabba393f57fdfb9b7abd92cc7925a605619902b2 (patch)
tree83db1c4e0aaaca008a49312b9d2d9197d1837f7b /common_features.mk
parent87021371e6273258a9385a0a5ed4cfd344f9de8f (diff)
downloadqmk_firmware-abba393f57fdfb9b7abd92cc7925a605619902b2.tar.gz
qmk_firmware-abba393f57fdfb9b7abd92cc7925a605619902b2.tar.xz
Added Auto Shift, tap key = normal, hold key = shifted state.
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 117f84260..bae23bb87 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -119,6 +119,11 @@ ifeq ($(strip $(PRINTING_ENABLE)), yes)
SRC += $(TMK_DIR)/protocol/serial_uart.c
endif
+ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes)
+ OPT_DEFS += -DAUTO_SHIFT_ENABLE
+ SRC += $(QUANTUM_DIR)/process_keycode/process_auto_shift.c
+endif
+
ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
SRC += $(patsubst $(QUANTUM_PATH)/%,%,$(SERIAL_SRC))
OPT_DEFS += $(SERIAL_DEFS)