aboutsummaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorGravatar XScorpion2 <rcalt2vt@gmail.com>2019-04-29 22:21:46 -0500
committerGravatar Drashna Jaelre <drashna@live.com>2019-04-29 20:21:46 -0700
commitc745d9b82e3f2047feb97a7a8937f27c6e989fd7 (patch)
tree503962c0a0aafa20c6c84bce0bf704b49cd98dd9 /common_features.mk
parent7d4ae3e66ebe1e9ff52ad4eb87da8cd9f01c142a (diff)
downloadqmk_firmware-c745d9b82e3f2047feb97a7a8937f27c6e989fd7.tar.gz
Simple extended space cadet (#5277)
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 8e9bcf0b9..6dffe31ff 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -351,3 +351,9 @@ ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
QUANTUM_LIB_SRC += i2c_master.c
SRC += oled_driver.c
endif
+
+SPACE_CADET_ENABLE ?= yes
+ifeq ($(strip $(SPACE_CADET_ENABLE)), yes)
+ SRC += $(QUANTUM_DIR)/process_keycode/process_space_cadet.c
+ OPT_DEFS += -DSPACE_CADET_ENABLE
+endif