summaryrefslogtreecommitdiff
path: root/protocol.mk
diff options
context:
space:
mode:
authortmk2014-08-26 05:02:37 +0900
committertmk2014-08-26 05:02:37 +0900
commitb316f19871ab39e6a75146d74a3b5cca37165f3c (patch)
tree66d06b895fea2e85da612d06604ab59234dc46b7 /protocol.mk
parent10eb70acb4c8a03fc5bda32d9c23fc41266aef7a (diff)
parent03fd4a6ff0fcccf8d7683b7fac3d9e6ae4fb635e (diff)
Merge branch 'serial-mouse' of git://github.com/rhaberkorn/tmk_keyboard into rhaberkorn-serial-mouse
Diffstat (limited to 'protocol.mk')
-rw-r--r--protocol.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk
index 7f561e62d..de7014e86 100644
--- a/protocol.mk
+++ b/protocol.mk
@@ -23,5 +23,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