diff options
| author | Russ Cox <rsc@swtch.com> | 2010-01-04 10:23:35 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2010-01-04 10:23:35 -0800 |
| commit | 100ec44e5170878bbd7fd28f7f68d884d0618173 (patch) | |
| tree | aa68d15a8470925872e202a8e1385b9699da8a5e /src/cmd/devdraw/osx-srv.c | |
| parent | b968422f51732c492ff4081786b713ace99835c1 (diff) | |
| download | plan9port-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.c | 4 |
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 |
