SRC += $(QUANTUM_DIR)/fauxclicky.c
endif
+ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
+ OPT_DEFS += -DPOINTING_DEVICE_ENABLE
+ OPT_DEFS += -DMOUSE_ENABLE
+ SRC += $(QUANTUM_DIR)/pointing_device.c
+endif
+
ifeq ($(strip $(UCIS_ENABLE)), yes)
OPT_DEFS += -DUCIS_ENABLE
UNICODE_COMMON = yes
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
OPT_DEFS += -DRGBLIGHT_ENABLE
- SRC += ws2812.c
SRC += $(QUANTUM_DIR)/rgblight.c
CIE1931_CURVE = yes
LED_BREATHING_TABLE = yes
+ ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes)
+ OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER
+ else
+ SRC += ws2812.c
+ endif
endif
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += $(TMK_DIR)/protocol/serial_uart.c
endif
+ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes)
+ OPT_DEFS += -DAUTO_SHIFT_ENABLE
+ SRC += $(QUANTUM_DIR)/process_keycode/process_auto_shift.c
+endif
+
ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
SRC += $(patsubst $(QUANTUM_PATH)/%,%,$(SERIAL_SRC))
OPT_DEFS += $(SERIAL_DEFS)
OPT_DEFS += -DTERMINAL_ENABLE
endif
+ifeq ($(strip $(USB_HID_ENABLE)), yes)
+ include $(TMK_DIR)/protocol/usb_hid.mk
+endif
+
QUANTUM_SRC:= \
$(QUANTUM_DIR)/quantum.c \
$(QUANTUM_DIR)/keymap_common.c \