summaryrefslogtreecommitdiff
path: root/converter/adb_usb/Makefile
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 /converter/adb_usb/Makefile
parent55fc97f957555c20c4509e587e8fd2ef1194ab0d (diff)
downloadqmk_firmware-7780fd1c01182ab67d899b78d85a0d3b0d89196f.tar.gz
qmk_firmware-7780fd1c01182ab67d899b78d85a0d3b0d89196f.zip
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 'converter/adb_usb/Makefile')
-rw-r--r--converter/adb_usb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/converter/adb_usb/Makefile b/converter/adb_usb/Makefile
index a16873dc03..2369ee70ac 100644
--- a/converter/adb_usb/Makefile
+++ b/converter/adb_usb/Makefile
@@ -122,6 +122,10 @@ CONSOLE_ENABLE = yes # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
#NKRO_ENABLE = yes # USB Nkey Rollover
+ADB_MOUSE_ENABLE = yes
+
+# ADB Mice need acceleration for todays much bigger screens.
+OPT_DEFS += -DADB_MOUSE_MAXACC=8
# Optimize size but this may cause error "relocation truncated to fit"