~ruther/qmk_firmware

aed82bc6a07ab72a3bec7b4b578b6cb644a92d51 — Drashna Jaelre 3 years ago 06c7614
Move Encoder+Encoder Map from generic features (#18018)

2 files changed, 8 insertions(+), 2 deletions(-)

M builddefs/common_features.mk
M builddefs/generic_features.mk
M builddefs/common_features.mk => builddefs/common_features.mk +8 -0
@@ 893,3 893,11 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
        QUANTUM_LIB_SRC += uart.c
    endif
endif

ifeq ($(strip $(ENCODER_ENABLE)), yes)
    COMMON_VPATH += $(QUANTUM_DIR)/encoder.c
    OPT_DEFS += -DENCODER_ENABLE
    ifeq ($(strip $(ENCODER_MAP_ENABLE)), yes)
        OPT_DEFS += -DENCODER_MAP_ENABLE
    endif
endif

M builddefs/generic_features.mk => builddefs/generic_features.mk +0 -2
@@ 25,8 25,6 @@ GENERIC_FEATURES = \
    DIP_SWITCH \
    DYNAMIC_KEYMAP \
    DYNAMIC_MACRO \
    ENCODER \
    ENCODER_MAP \
    GRAVE_ESC \
    HAPTIC \
    KEY_LOCK \