X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=protocol.mk;h=e057d1d601e0f3d6af0fb5020491ca97686a3b39;hb=e2077cad45f1736e878e317c43bd94117c61b5e0;hp=ca435ba43ca1acc2b7c3bb67705ea9eaccd851e0;hpb=adbb86b1ec8b07e86ae7425374e95b82122e48a7;p=tmk_firmware.git diff --git a/protocol.mk b/protocol.mk index ca435ba..e057d1d 100644 --- a/protocol.mk +++ b/protocol.mk @@ -24,5 +24,25 @@ ifdef PS2_USE_USART endif +ifdef SERIAL_MOUSE_MICROSOFT_ENABLE + SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c + OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \ + -DMOUSE_ENABLE +endif + +ifdef SERIAL_MOUSE_MOUSESYSTEMS_ENABLE + SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c + OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \ + -DMOUSE_ENABLE +endif + +ifdef SERIAL_MOUSE_USE_SOFT + SRC += $(PROTOCOL_DIR)/serial_soft.c +endif + +ifdef SERIAL_MOUSE_USE_UART + SRC += $(PROTOCOL_DIR)/serial_uart.c +endif + # Search Path VPATH += $(TOP_DIR)/protocol