Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Mar 2006 21:56:30 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Configure the Scroll Ball of a Mighty Mouse in X11R6.8.2
Message-ID:  <200603042156.30269.mapsware@prodigy.net.mx>

next in thread | raw e-mail | index | archive | help
Hi:

The problem is that, when I move the scroll ball verticaly, nothing happen,=
=20
but when I move it horizontally, X get the vertical moves.

How can I configure the horizontal and vertical move of the scroll ball?

=46reeBSD detected as:

# dmesg | grep ums
ums0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.08, addr 2, icla=
ss=20
3/1
ums0: 4 buttons and Z dir.

Here is what I have done till now, since I want to use it in X and FreeBSD =
(to=20
copy and paste), I added

usbd_enable=3D"YES"

to my /etc/rc.conf, so the "moused" utility is up and running

# ps axw | grep mouse
=A0 268 =A0?? =A0Is =A0 =A0 0:04,44 /usr/sbin/moused -p /dev/ums0 -t auto=20
=2DI /var/run/moused.ums0.pid

and the copy and paste works fine, since it has 4 buttons, no need to emula=
te=20
the third (middle) button.

So, in X I configure the sysMouse protocol:

Section "InputDevice"
=A0 =A0 =A0 =A0 Identifier =A0"Mouse0"
=A0 =A0 =A0 =A0 Driver =A0 =A0 =A0"mouse"
=A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Protocol" "SysMouse"
=A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Device" "/dev/sysmouse"
=A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Buttons" "6"
=A0 =A0 =A0 =A0 Option =A0 =A0 =A0"ZAxisMapping" "4 5"
EndSection

maps



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