summaryrefslogtreecommitdiffstats
path: root/src/cmd/devdraw/osx-srv.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2010-01-04 10:23:35 -0800
committerRuss Cox <rsc@swtch.com>2010-01-04 10:23:35 -0800
commit100ec44e5170878bbd7fd28f7f68d884d0618173 (patch)
treeaa68d15a8470925872e202a8e1385b9699da8a5e /src/cmd/devdraw/osx-srv.c
parentb968422f51732c492ff4081786b713ace99835c1 (diff)
downloadplan9port-100ec44e5170878bbd7fd28f7f68d884d0618173.tar.gz
plan9port-100ec44e5170878bbd7fd28f7f68d884d0618173.zip
devdraw: add multitouch code from Paul Lalonde
Various tweaks to avoid breaking standard mice, but probably needs tweaks to work with multitouch mice again. Still, it's a start. R=rsc CC=plalonde, r http://codereview.appspot.com/181124
Diffstat (limited to 'src/cmd/devdraw/osx-srv.c')
-rw-r--r--src/cmd/devdraw/osx-srv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/devdraw/osx-srv.c b/src/cmd/devdraw/osx-srv.c
index ae14ba18..6cbb5235 100644
--- a/src/cmd/devdraw/osx-srv.c
+++ b/src/cmd/devdraw/osx-srv.c
@@ -89,6 +89,7 @@ zunlock(void)
int chatty;
int drawsleep;
int trace;
+int multitouch = 1;
void
usage(void)
@@ -130,6 +131,9 @@ threadmain(int argc, char **argv)
case 'D':
chatty++;
break;
+ case 'M':
+ multitouch = 0;
+ break;
default:
usage();
}ARGEND