Skip to content

Commit

Permalink
Move Encoder+Encoder Map from generic features
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Aug 13, 2022
1 parent ccdba43 commit 0ccf338
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions builddefs/common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions builddefs/generic_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ GENERIC_FEATURES = \
DIP_SWITCH \
DYNAMIC_KEYMAP \
DYNAMIC_MACRO \
ENCODER \
ENCODER_MAP \
GRAVE_ESC \
HAPTIC \
KEY_LOCK \
Expand Down

0 comments on commit 0ccf338

Please sign in to comment.