On Tue, 26 Mar 2002, Dr Andrew C Aitchison wrote:
> On Tue, 26 Mar 2002, Norbert Schmidt wrote:
>
> > please help:
> >
> > Section "InputDevice"
> > Driver "mouse"
> > Identifier "Mouse[1]"
> > Option "Device" "/dev/psaux"
> > Option "Buttons" "9"
> > Option "InputFashion" "Mouse"
> > Option "Name" "AutoDetected"
> > Option "Protocol" "explorerps/2"
> > Option "Vendor" "AutoDetected"
> > Option "ZaxisMapping" "6 7 8 9"
> > EndSection
> >
> > xev shows all buttons 1..9 of two wheels/two sidebuttons/three buttons
> > mouse.
> > xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7"
> > works fine too.
> >
> >
> > <Btn5down>: LineUp() works for button 1 to button 5
> > BUT NOT for any button higher than 5!
> >
> >
> > Who can help / explain ?
> > (I read a similar question in newbie-list, but it remained unanswered)
>
> Last I heard, XFree86 (or was it X more generally) has a limit of 5
> buttons somewhere. Going above 5 is much harder, I believe.
>
There are only XEvent MotionMasks for 5 buttons (this is in X.h).
I think you can get button events for higher buttons but it's
not possible to get Motion+Button events for higher buttons. There's
not even a way to request it.
There shouldn't be any problem getting up/down events though.
Obiously xev gets them fine.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert