mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06:00
31 lines
849 B
Makefile
31 lines
849 B
Makefile
|
# Unconditionally disable features that a keyboard advertises it doesn't support
|
||
|
|
||
|
FEATURE_NAMES :=
|
||
|
FEATURE_NAMES += AUDIO
|
||
|
FEATURE_NAMES += BACKLIGHT
|
||
|
FEATURE_NAMES += BLUETOOTH
|
||
|
FEATURE_NAMES += DIP_SWITCH
|
||
|
FEATURE_NAMES += DYNAMIC_KEYMAP
|
||
|
FEATURE_NAMES += ENCODER
|
||
|
FEATURE_NAMES += HAPTIC
|
||
|
FEATURE_NAMES += HD44780
|
||
|
FEATURE_NAMES += IOS_DEVICE
|
||
|
FEATURE_NAMES += LCD_BACKLIGHT
|
||
|
FEATURE_NAMES += LCD
|
||
|
FEATURE_NAMES += OLED
|
||
|
FEATURE_NAMES += POINTING_DEVICE
|
||
|
FEATURE_NAMES += PRINTING
|
||
|
FEATURE_NAMES += PS2_MOUSE
|
||
|
FEATURE_NAMES += RGBLIGHT
|
||
|
FEATURE_NAMES += RGB_MATRIX
|
||
|
FEATURE_NAMES += SLEEP_LED
|
||
|
FEATURE_NAMES += SERIAL_LINK
|
||
|
FEATURE_NAMES += STENO
|
||
|
FEATURE_NAMES += SWAP_HANDS
|
||
|
FEATURE_NAMES += VISUALIZER
|
||
|
FEATURE_NAMES += WATCHDOG
|
||
|
FEATURE_NAMES += XT
|
||
|
|
||
|
$(foreach AFEATURE,$(FEATURE_NAMES),\
|
||
|
$(if $(filter $($(AFEATURE)_SUPPORTED),no),$(eval $(AFEATURE)_ENABLE=no)))
|