diff options
author | tmk <nobody@nowhere> | 2014-08-26 05:02:37 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-08-26 05:02:37 +0900 |
commit | b316f19871ab39e6a75146d74a3b5cca37165f3c (patch) | |
tree | 66d06b895fea2e85da612d06604ab59234dc46b7 /protocol.mk | |
parent | 10eb70acb4c8a03fc5bda32d9c23fc41266aef7a (diff) | |
parent | 03fd4a6ff0fcccf8d7683b7fac3d9e6ae4fb635e (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.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk index 7f561e62d6..de7014e866 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 |