Comment 40 for bug 337935

Revision history for this message
Erkin Bahceci (cornelius1) wrote : Re: [Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)

Here is a patch for bcm5974-dkms to make click-and-drag work with Macbook 5,1. When clicking with two fingers touching the trackpad, it simply ignores the finger that is doing the clicking (the one that is relatively lower on the touchpad), just like OS X does. It does *not* disable the bottom part (to make it act only as a button). It also does not change the behavior of other trackpad models, or the cases when the user is not clicking or is clicking with any number of fingers other than two.

The only caveat is that now you can't right-click by two-finger-clicking and instead you need to do it by two-finger-tapping by enabling the TapButton for right-click, as in the attached policy file. This is actually a behavior that makes sense and what happens in OS X anyway, since when you are clicking and have two fingers on the touchpad, you are expected to be doing a click-and-drag, not a right-click. In fact, OS X does not even have a "right-click by two-finger-clicking" feature as it would interfere with click-and-drag. Thus, this shouldn't be a problem.

Attached is the patch, a package for testing, and a policy file that has fast taps and tap buttons enabled.