From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 09:53:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC66E37B401 for ; Sun, 17 Aug 2003 09:53:43 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 16F2E43F85 for ; Sun, 17 Aug 2003 09:53:43 -0700 (PDT) (envelope-from root@webserver.get-linux.org) Received: (qmail 3398 invoked by uid 0); 17 Aug 2003 16:53:42 -0000 Date: Sun, 17 Aug 2003 09:53:42 -0700 From: Joshua Oreman To: Denis Message-ID: <20030817165342.GA3389@webserver> References: <78953932.20030817033140@mail.ru> <20030816235244.GB753@webserver> <193750914.20030817182246@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <193750914.20030817182246@mail.ru> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: mouse with scroll.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 16:53:44 -0000 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.