Skip to content

Commit

Permalink
common_features: alert user if QMK_SETTINGS is enabled but MOUSEKEY d…
Browse files Browse the repository at this point in the history
…isabled
  • Loading branch information
xyzz committed Jul 29, 2021
1 parent 74c2a58 commit ff5d361
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ ifeq ($(strip $(DYNAMIC_KEYMAP_ENABLE)), yes)
endif

ifeq ($(strip $(QMK_SETTINGS)), yes)
ifeq ($(strip $(MOUSEKEY_ENABLE)), no)
$(error QMK_SETTINGS requires MOUSEKEY_ENABLE, either disable QMK_SETTINGS explicitly or enable MOUSEKEY_ENABLE)
endif
AUTO_SHIFT_ENABLE := yes
SRC += $(QUANTUM_DIR)/qmk_settings.c
OPT_DEFS += -DQMK_SETTINGS -DAUTO_SHIFT_NO_SETUP -DTAPPING_TERM_PER_KEY -DPERMISSIVE_HOLD_PER_KEY -DIGNORE_MOD_TAP_INTERRUPT_PER_KEY -DTAPPING_FORCE_HOLD_PER_KEY -DRETRO_TAPPING_PER_KEY
Expand Down

0 comments on commit ff5d361

Please sign in to comment.