Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 09:53:42 -0700
From:      Joshua Oreman <oremanj@get-linux.org>
To:        Denis <intraden@mail.ru>
Cc:        questions@freebsd.org
Subject:   Re: mouse with scroll....
Message-ID:  <20030817165342.GA3389@webserver>
In-Reply-To: <193750914.20030817182246@mail.ru>
References:  <78953932.20030817033140@mail.ru> <20030816235244.GB753@webserver> <193750914.20030817182246@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 17, 2003 at 06:22:46PM +0400 or thereabouts, Denis wrote:
> Hi!
> 
> Sunday, August 17, 2003, 3:52:44 AM, you wrote:
> 
> JO> On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
> >> Hi All!!!
> >> 
> >>   Does anybody know how in freebsd use mouse with 3 button and one
> >>   scroll?
> 
> JO> --snip /etc/XF86Config (or /etc/X11/XF86Config)--
> JO> Section "InputDevice"
> JO>         Identifier  "Mouse0"
> JO>         Driver      "mouse"
> JO>         Option      "Protocol" "ImPS/2"
> JO> #                              ^^^^^^^^ you need this
> JO> # ...
> JO>         Option      "Buttons" "3"
> JO> # and this          ^^^^^^^^^^^^^
> JO>         Option      "ZAxisMapping" "4 5"
> JO> # and this          ^^^^^^^^^^^^^^^^^^^^
> JO> EndSection
> JO> --snip--
> 
> JO> -- Josh
> 
> Hey, Thanks!!!!!
> It works!!!!!
> That's cool!
> Do you happen to know how i can to set an action for 4th button?

First, change Option "Protocol" to "Auto", as someone has commented and see if it still works.

You mean your mouse has 3 normal buttons and a scroll wheel? Or 2 buttons, wheel press, and scroll?

If it has 3 things you can press, they'll work normally. If it has more, I think you can use
xmodmap(1).

-- Josh

> 
> -- 
> Best Regards, Denis.



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