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.
This commit is contained in:
Mekaniserad Apelsin 2015-04-26 08:08:54 +02:00
parent 55fc97f957
commit 7780fd1c01
8 changed files with 114 additions and 1 deletions

View file

@ -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