summaryrefslogtreecommitdiff
path: root/tmk_core/protocol.mk
diff options
context:
space:
mode:
authorMekaniserad Apelsin <mek@pels.in>2015-04-26 08:08:54 +0200
committerMekaniserad Apelsin <mek@pels.in>2015-04-26 08:57:00 +0200
commit7780fd1c01182ab67d899b78d85a0d3b0d89196f (patch)
treefb416f095da28041879d2e85cf5d127bdd3957af /tmk_core/protocol.mk
parent55fc97f957555c20c4509e587e8fd2ef1194ab0d (diff)
Add mouse support to ADB
Adding the makefile options ADB_MOUSE_ENABLE and ADB_MOUSE_ACCMAX. Might have gone overboard with comments, and tried but failed at not adding more than necessary outside the converter/adb_usb/ folder.
Diffstat (limited to 'tmk_core/protocol.mk')
-rw-r--r--tmk_core/protocol.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk
index 726f658a04..54913329e6 100644
--- a/tmk_core/protocol.mk
+++ b/tmk_core/protocol.mk
@@ -46,5 +46,9 @@ ifdef SERIAL_MOUSE_USE_UART
SRC += $(PROTOCOL_DIR)/serial_uart.c
endif
+ifdef ADB_MOUSE_ENABLE
+ OPT_DEFS += -DADB_MOUSE_ENABLE -DMOUSE_ENABLE
+endif
+
# Search Path
VPATH += $(TMK_DIR)/protocol