diff options
| author | Jack Humbert | 2018-10-26 22:19:23 +0200 |
|---|---|---|
| committer | Drashna Jaelre | 2018-10-26 23:24:13 +0200 |
| commit | 85688e5b52112c86895171d3dc8b26610480e932 (patch) | |
| tree | 03f3f7bf585ebdf158576aeb6a8cf0c8c5319d6f /common_features.mk | |
| parent | e22c3992454ade93ccaef70ab077e79a4b2a5ef0 (diff) | |
add support for encoders to core
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk index 65ff6b5b38..3fd8361a52 100644 --- a/common_features.mk +++ b/common_features.mk @@ -219,6 +219,11 @@ ifeq ($(strip $(USB_HID_ENABLE)), yes) include $(TMK_DIR)/protocol/usb_hid.mk endif +ifeq ($(strip $(ENCODER_ENABLE)), yes) + SRC += $(QUANTUM_DIR)/encoder.c + OPT_DEFS += -DENCODER_ENABLE +endif + ifeq ($(strip $(HD44780_ENABLE)), yes) SRC += drivers/avr/hd44780.c OPT_DEFS += -DHD44780_ENABLE |