Re: Three Finger Tap?
Re: Three Finger Tap?
- Subject: Re: Three Finger Tap?
- From: William Mortensen <email@hidden>
- Date: Wed, 8 Jul 2009 22:10:17 -0700
On Jul 8, 2009, at 9:26 PM, Jeremy Huddleston wrote:
On Jul 8, 2009, at 18:44, William Mortensen wrote:
On Jul 8, 2009, at 6:28 PM, Jeremy Huddleston wrote:
I think Egan wants another option for mouse-button emulation--
specifically, have a three-finger tap produce a middle-click. This
would fit quite well with the fact that two-finger taps already
produce right-clicks anywhere in OS X (if you enable it in the
Trackpad pane of System Preferences).
Well any right clicks sent to applications (produced by emulation or
otherwise) are seen as right clicks in X11... similarly for middle
clicks... There's no magic that needs to be done. Just set the
preference you want in OSX's trackpad preferences, and it'll "just
work" with X11.
But there is no such preference for middle-click--only for right-
click. So *you* would need to do provide this functionality, in X11,
which is why I was talking about handling multitouch events below.
In other words, on a MacBook Pro without an external mouse, X11 will
never get a middle-click from OS X (AppKit, I guess?), but it will get
three-finger-taps (via an API that's supposed to be public in Snow
Leopard) and could then generate middle-click X events.
IIRC from random reading on the interwebs, the APIs for
applications to receive multitouch events are private (though easy
to reverse-engineer) in Leopard but look to be public in Snow
Leopard. But I suppose that distinction shouldn't matter for an
Apple product. :-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden