Re: How to use many(>6) button mouse devices
Hi Travis,
Thanks for the reply, but no dice. 'xev' reports button11 and button12
events when I use the scroll wheel but the actual scrolling is broken.
No change wrt the other buttons.
-- Brad
On Tue, 04 Mar 2003, Travis Crump wrote:
> Brad Sawatzky wrote:
> >I've got myself a Kensington ExpertMouse USB trackball. The thing has
> > 6 "special" buttons (ie. intended for exe launching, etc)
> > 4 regular buttons
> > 1 wheel
> >
> >This gives me three usable regular buttons (ie. right, left, middle),
> >and a working wheel. In 'xev' the remaining regular button generates a
> >button3 event, and none of the special buttons register at all. The
> >"Buttons" option doesn't seem to do much at all...
> >
>
> I am just extrapolating from my seven button mouse, but try something like:
>
> In /etc/X11/XF86Config-4:
>
> Section "InputDevice"
> [...]
> Option "Buttons" "12"
> Option "ZAxisMapping" "11 12"
> EndSection
>
> In ~/.xmodmap:
>
> pointer = 1 2 3 11 12 4 5 6 7 8 9 10
>
> Then you have to source ~/.xmodmap somewhere with the command 'xmodmap
> ~/.xmodmap'. I do this in my .bashrc, but this is more a kludge than
> anything.[I have the following in my .bashrc:
>
> if [ "$TERM" == "xterm" ]; then
> xmodmap ~/.xmodmap-Pretzalz
> fi
>
> ]
>
>
--
Brad Sawatzky <bds9e@virginia.edu>
University of Virginia Physics Department
Ph: (434) 924-6580 Fax: (434) 924-4576
Reply to: