diff options
author | Joel Challis <[email protected]> | 2023-12-11 23:06:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-11 23:06:18 +0000 |
commit | 4682226e20d17437c0a6f67f5d6160432074d948 (patch) | |
tree | 94a85cb8b8ae55c8f3db7ab09d8af13d66bf0bfa /builddefs | |
parent | d85f954d3065da06e0c7eb14068d61f18b23bd25 (diff) | |
download | qmk_firmware-4682226e20d17437c0a6f67f5d6160432074d948.tar.gz qmk_firmware-4682226e20d17437c0a6f67f5d6160432074d948.zip |
Keymap introspection for Dip Switches (#22543)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/common_features.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index d793d5faf5..5e93480e4d 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -908,6 +908,12 @@ ifeq ($(strip $(ENCODER_ENABLE)), yes) endif endif +ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes) + ifeq ($(strip $(DIP_SWITCH_MAP_ENABLE)), yes) + OPT_DEFS += -DDIP_SWITCH_MAP_ENABLE + endif +endif + VALID_WS2812_DRIVER_TYPES := bitbang custom i2c pwm spi vendor WS2812_DRIVER ?= bitbang |