Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 21:21:27 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jeff Elkins <bsd@elkins.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 5-Button Trackball
Message-ID:  <20040207032127.GH76684@dan.emsphone.com>
In-Reply-To: <200402062124.48395.bsd@elkins.org>
References:  <200402062124.48395.bsd@elkins.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 06), Jeff Elkins said:
> I'm using a 5-button Microsoft Trackball/Explorer (a gift) that
> functions perfectly under Debian Unstable/KDE3.1
> 
> I copied the Debian X settings to my BSD XFree86 config file, which
> added ZAxis and Buttons settings:
> 
> Section "InputDevice"
>       Identifier "Mouse0"
>       Driver     "mouse"
>       Option "Protocol"        "auto"
>       Option "Device"          "/dev/sysmouse"
>       Option "ZAxisMapping"    "4 5"
>       Option "Buttons"         "5"
> EndSection
> 
> but only three of the buttons are functional. Are there any tips for
> making this beast work with FreeBSD 5.2?

You probably need to say you have 7 buttons: the five physical buttons,
and two more for the wheel up/down events.  Try setting ZAxisMapping to
"6 7".  I don't know if X is hardcoded to think buttons 4 and 5 are
wheel buttons or not.  If it is, you can shuffle the button mappings
around with moused -m.  moused -df (console) and xev (X) are handy for
debugging button and wheel problems.


-- 
	Dan Nelson
	dnelson@allantgroup.com



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