2015-04-09 16:32:04 +00:00
|
|
|
PROTOCOL_DIR = protocol
|
|
|
|
|
2019-12-13 11:36:37 +00:00
|
|
|
ifeq ($(strip $(SERIAL_MOUSE_MICROSOFT_ENABLE)), yes)
|
2015-04-09 16:32:04 +00:00
|
|
|
SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c
|
|
|
|
OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \
|
|
|
|
-DMOUSE_ENABLE
|
|
|
|
endif
|
|
|
|
|
2019-12-13 11:36:37 +00:00
|
|
|
ifeq ($(strip $(SERIAL_MOUSE_MOUSESYSTEMS_ENABLE)), yes)
|
2015-04-09 16:32:04 +00:00
|
|
|
SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c
|
|
|
|
OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \
|
|
|
|
-DMOUSE_ENABLE
|
|
|
|
endif
|
|
|
|
|
2019-12-13 11:36:37 +00:00
|
|
|
ifeq ($(strip $(SERIAL_MOUSE_USE_SOFT)), yes)
|
2015-04-09 16:32:04 +00:00
|
|
|
SRC += $(PROTOCOL_DIR)/serial_soft.c
|
|
|
|
endif
|
|
|
|
|
2019-12-13 11:36:37 +00:00
|
|
|
ifeq ($(strip $(SERIAL_MOUSE_USE_UART)), yes)
|
2015-04-09 16:32:04 +00:00
|
|
|
SRC += $(PROTOCOL_DIR)/serial_uart.c
|
|
|
|
endif
|
|
|
|
|
2021-02-28 15:50:15 +00:00
|
|
|
ifeq ($(strip $(USB_HID_ENABLE)), yes)
|
|
|
|
include $(TMK_DIR)/protocol/usb_hid.mk
|
|
|
|
endif
|
|
|
|
|
2015-04-09 16:32:04 +00:00
|
|
|
# Search Path
|
|
|
|
VPATH += $(TMK_DIR)/protocol
|