From 100ec44e5170878bbd7fd28f7f68d884d0618173 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 4 Jan 2010 10:23:35 -0800 Subject: 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 --- src/cmd/devdraw/osx-srv.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmd/devdraw/osx-srv.c') 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 -- cgit v1.2.3