CFT: ClickPad support

Chase Douglas chase.douglas at canonical.com
Fri Feb 17 17:20:37 UTC 2012


On 02/17/2012 05:32 PM, Tim Gardner wrote:
> On 02/11/2012 02:58 PM, Chase Douglas wrote:
>> Hi all,
>>
>> I've spent some time working on making "ClickPad" trackpads work better.
>> I have put the end result up at ppa:chasedouglas/clickpad. I would like
>> some testing feedback for the changes.
>>
>> In this context, a "ClickPad" is any touchpad with buttons integrated
>> into the touch surface. This includes many variations of Synaptics
>> trackpads and all the multitouch Apple trackpads. However, not all
>> devices are detected as clickpads by the kernel, so you may need to
>> manually override the clickpad detection.
>>
>> I have attached two scripts. The first enables clickpad support, and the
>> second enables a "right button area" in the lower right corner of the
>> trackpad. The 'right button area" should overlap with the right button
>> area painted on some ClickPads. You are free to enable or disable it as
>> you wish.
>>
>> The scripts require the device name or id as the first argument. You can
>> query the device name and id by running "xinput list".
>>
>> So what does this do?
>>
>> * You can now perform click-and-drag with two separate fingers
>> * With the right button area enabled, a button press in the area will
>>    fire a right button press instead of a left button press
>> * Click actions are possible, but they are an advanced feature I don't
>>    want to support yet by detailing them here
>>
>> If we get good feedback on this, then I would like to push it into
>> Precise. I also want to add a checkbox to the mouse settings preferences
>> to enable the right button area too.
>>
>> Thanks for testing!
>>
>> -- Chase
> 
> I went to test this on a recent MacBook Air, but it has a Broadcom 
> bcm5974 clickpad. Any chance of getting support for that?

It will work out without any changes if you tell X that it is a
clickpad. This is what the enable-clickpad.sh script does.

You just cherry-picked my patch so the kernel tells X that it is a
clickpad automatically, so you won't even need the enable-clickpad.sh
script in the future :).

-- Chase



More information about the ubuntu-desktop mailing list