Subject: Re: 8 button mouse (mighty mouse) seen as 6 buttons only ?
To: Gilbert Fernandes <gilbert.fernandes@spamcop.net>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 02/23/2006 09:38:39
In message <20060223062519.fl5og0s0g00s8kok@webmail.spamcop.net>, Gilbert Ferna
ndes writes:
>> What does xev say about the up-down scroll wheel?  Is it by chance on
>> buttons 7 and 8?  If so, you can just invert the 5-6 and 7-8 pair in
>> the zaxismapping.
>
>It says nothing.
>
>That's why I posted. I have edited my XF86Config to tell XFree the mouse
>has 8 buttons. Then I tried to use xev to see if there were any events
>produced
>for scrolling up or down the little button on the mouse. Nothing happens.
>
>If I scroll left or right, I see events for buttons 5 and 6 but scrolling up
>or
>down produces nothing.
>
>It's by checking the first console that I discovered the mouse either
>reports
>only having 6 buttons (4 buttons + Z dir) or the mouse has 8 buttons but is
>seen as having 6 by NetBSD's kernel (and I trust the kernel more than what
>the mouse reports on the USB bus).
>

I wonder if the other two buttons are USB events that you can sense with
usbhidctl and respond to with usbhidaction

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb