Subject: Re: Phantom button presses from trackpad
To: Magnus Henoch <mange@freemail.hu>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 10/17/2006 13:41:16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Oct 17, 2006, at 08:50, Magnus Henoch wrote:

> Magnus Henoch <mange@freemail.hu> writes:
>
>> I have an iBook G4 of early 2004, running -current, but I haven't yet
>> bothered to update X beyond 4.4.0.  I tried changing the keyboard
>> driver from "keyboard" to "kbd", which gave positive results (more
>> keys defined, less need for xmodmap), but also made the trackpad
>> behave strangely.  Whenever I put my finger on it, it reports button
>> 179 being pressed:
>
> Whatever the cause was, the recent changes to ams.c fixed it.  The
> trackpad is now quite usable.  Thanks!

Good, the point of the change was to make tapping the pad work as 
button one.
About the phantom buttons - all Apple trackpads I know report more than 
one button ( two in the PB3400c, four in my iBook G4 ) - the only one 
that's corresponding to a real life button is button one. The others 
are (ab)used for stuff like signalling that there's a finger on the pad 
( the two-button version uses button 2-4 for that, the four-button 
version uses button 5 and reports button four as always down).
The button count reported is bogus and ought to be read as protocol 
revision or something.

So, has anyone ever seen an ADB trackpad that reports something else 
than two or four buttons?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRTUVvMpnzkX8Yg2nAQK9OAgAmsRFJjNHlL1uU9Kt8aGGjIMDGye8Gxcc
GCCjA/jl2CufG8GIWPYdhLp4GDQBW5inp+1pRfN+K2fw4ZcIlaI0Rg9h+T8tw3BL
GvSX7ikNNha9TUg1JngsTIJHLd7hM41ReDKtJrC/cYDG7+XvO6aytIYlCD7YlbFw
3chKCn468kaVwpISxxFsV9mOJDma+C+PsNgskQzL9HQHMl2vP9VDsKlRI1xJ4/s3
Leh3Utjd92CWBrsuCMc6oX6un1o3MxE19DSXnv0joGOjkOmRIHFA6zERUpqjM10s
+LrZ4Sz6/um3C6Hs9mwPq2+NjqiF7yAI8dYpp/VLvy7076R2XmHqdA==
=w/2j
-----END PGP SIGNATURE-----