Date: Sat, 06 Nov 2004 11:31:02 -0700 From: Danny MacMillan <flowers@users.sourceforge.net> To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-questions@freebsd.org Subject: Re: moused and 7-button mice Message-ID: <20041106183102.GA736@procyon.nekulturny.org> In-Reply-To: <200411061127.42300.kirk@strauser.com> References: <200411061127.42300.kirk@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 06, 2004 at 10:27:38AM -0700, Kirk Strauser wrote: > I have a Microsoft Trackball Optical that I'd been using with a Debian system > but that I want to switch to my FreeBSD workstation. The problem I'm having > is that it has 7 buttons: > > Left > Middle (clicking the scroll wheel) > Right > Up scroll > Down scroll > Far-left button (narrow, to the left of the regular left button) > Far-right button > > and moused only seems to pass the first 5 through to X. That is, it works > perfectly well like a regular scroll mouse but those wonderful extra buttons > are ignored. I don't even know where to begin looking for a solution. Any > pointers? I have a Microsoft IntelliMouse Explorer that also has 7 buttons (two thumb buttons). I have all of the buttons working in X using imwheel, which is in the ports. To get everything working as it should I did have to do a little messing around. I'll outline it here since it took a while to figure out. Here is the contents of my .xinitrc: xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -p -k -b "67" exec startkde Here is the contents of my /usr/X11R6/etc/imwheelrc: ".*" None,Up,Alt_L|Left None,Down,Alt_L|Right Note that my requirements are =very= simple. You might do better to edit the imwheelrc file installed by default than creating one from scratch, as I did. Here's the InputDevice section of my XF86Config: Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/psm0" Option "Buttons" "7" Option "ZAxisMapping" "6 7" This is the only configuration I could get working. I couldn't get it working with moused, for example. Of course, I only invested about 5 hours in it so maybe I just quit too soon :) I suspect your trackball, also being a Microsoft device, will respond to a similar configuration. One last thing I'll point out: my mouse has a USB connector but I punch it through a USB -> PS/2 adapter to force it to work with my KVM switch. -- Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041106183102.GA736>