Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Nov 2008 11:23:21 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-ppc@FreeBSD.org
Subject:   Re: ADB mouse fixup
Message-ID:  <490DE209.4020109@freebsd.org>
In-Reply-To: <20081102171754.GS1165@hoeg.nl>
References:  <20081102171754.GS1165@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten wrote:
> Hello all,
>
> After getting Xorg working on my Powerbook 12", I noticed the mouse
> driver did something strange w.r.t. mouse buttons. After adding printf's
> to the source code, I noticed it generated button 2 clicks each time I
> just touched the pad.
>
> It turns out there is this a piece of code in the ADB mouse driver that
> converts events of buttons that exceed the amount of buttons of the
> device to button events of the last available button. Disabling this
> code makes the mouse driver work properly.
>
> Any comments on the attached patch before I commit it to SVN? Thanks!
>
>   
That is really strange. As it happens, the code currently there for high 
buttons is to handle an external ALPS Glidepoint touchpad I have with 3 
buttons that gives button events on buttons 1,2, and 4. The rest of my 
hardware behaves correctly, and the ALPS device reports itself as a 
mouse, not a trackpad, so I think the patch is fine. Crazy Apple hardware...
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?490DE209.4020109>