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