Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 02:48:25 +0100
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Danny MacMillan <flowers@users.sourceforge.net>
Subject:   Re: moused and 7-button mice
Message-ID:  <200411070248.40922.4711@chello.at>
In-Reply-To: <200411070006.24893.4711@chello.at>
References:  <200411061127.42300.kirk@strauser.com> <20041106195919.GA5525@procyon.nekulturny.org> <200411070006.24893.4711@chello.at>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 07 November 2004 00:06, Christian Hiris wrote:
> On Saturday 06 November 2004 20:59, Danny MacMillan wrote:
> > On Sat, Nov 06, 2004 at 11:42:04AM -0700, Christian Hiris wrote:
> > > On Saturday 06 November 2004 19:31, Danny MacMillan wrote:
> > > > On Sat, Nov 06, 2004 at 10:27:38AM -0700, Kirk Strauser wrote:
> > >
> > > [...]
> > >
> > > > 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 :)
> > >
> > > Moused should work, if you change Option Device from "/dev/psm0" to
> > > "/dev/sysmouse".
> >
> > I understand that this will give me basic mouse functionality in X using
> > moused.  What it doesn't get working is all 7 mouse buttons in X using
> > moused.
>
> 'imwheel -p -k -b "67"' is probably wrong. This limits button grabbing to
> buttons 6 and 7, where imwheel maps the buttons 6/7 to wheel up/down.
> If you run 'xmodmap -e "pointer = 1 2 3 6 7 4 5"' the buttons are mapped as
> should be. I'm running imwheel w/o options and I use the default imwheelrc,
> which was installed by the port.

I did some more testing about imwheel:
If you run 'imwheel -p -k "45"' things should work as before + moused support 
working. It seems that Option "Device" "/dev/sysmouse" works fine, while 
"/dev/psm0" switches buttons 4 5 to 6 7.

Another thing that showed up was that some newer X-apps can do 
button/kbd-event translation out of the box. So maybe some of theese appear 
to be much better "mouse-supported", when imwheel is not running (ie. kde).        

- -- 
Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjX7409WjGjvKU74RAglIAJ9HAfrI0JWY7Qiqdj7+Pry1OrQuhQCaAokj
MHhfs3bKTkjG/XtYnoGXEKY=
=Qp3o
-----END PGP SIGNATURE-----



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