Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 14:20:53 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        "Denis" <intraden@mail.ru>, <freebsd-questions@freebsd.org>
Subject:   Re: how to use 4 buttons mouse?
Message-ID:  <200308171420.53045.malcolm.kay@internode.on.net>
In-Reply-To: <002201c363f8$e53bb300$43245250@comp>
References:  <002201c363f8$e53bb300$43245250@comp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Aug 2003 22:44, Denis wrote:
> Hi all!!!
>
> Does anybody know how i can use in freebsd mouse with 4 buttons?
> Maybe i must do some changes in configuration files or ...??? I don't
> know.......

What sort of mouse?=20
Console or X?

Assuming you have a ps/2 mouse then make sure you are running 'moused'.
Adding:
  moused_enable=3D"YES"
  moused_port=3D"/dev/psm0"
  moused_type=3D"auto"
to /etc/rc.conf should accomplish this on start up.

Now, to have X recognise the 4th button you'll need:
    Option "Protocol"    "auto"
    Option "Device"      "/dev/sysmouse"
    Option "Buttons"     "4"
in the options section of XF86Config.

You may need to add actions to X application resource files
to get any effect from the 4th button.

If it is not a ps/2 mouse take a look at: man moused
and the README.mouse file in the X documentation.

Malcolm



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