mouse with scroll....

Joshua Oreman oremanj at get-linux.org
Sun Aug 17 09:53:44 PDT 2003


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.


More information about the freebsd-questions mailing list