summaryrefslogtreecommitdiff
path: root/protocol.mk
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.mk')
-rw-r--r--protocol.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk
index 726f658a04..54913329e6 100644
--- a/protocol.mk
+++ b/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