From owner-freebsd-questions Tue Feb 25 11:50:37 2003 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 63CC837B401 for ; Tue, 25 Feb 2003 11:50:35 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E2F44163 for ; Tue, 25 Feb 2003 11:48:03 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1PJj8rX010709; Tue, 25 Feb 2003 14:45:09 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E5BC7C4.8070007@potentialtech.com> Date: Tue, 25 Feb 2003 14:45:08 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Henning Cc: freebsd Subject: Re: scroll mouse References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian Henning wrote: > Hello- > i have a logitech 2 button mouse with a wheel in the middle. > i would like to get the wheel to work in x-windows, but i can't get the > scrolling to work. > here is what i have done so far. > > rc.conf > -------- > moused_type="ps/2" > moused_port="/dev/psm0" > moused_enable="YES" > moused_flags="-z 4" > > /usr/X11R6/lib/X11/XF86Config > ... > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "MouseSystems" > Option "Device" "/dev/sysmouse" > Option "Buttons" "5" > Option "ZAxisMapping" "4 5" > EndSection > ... I have a Logitech Mouseman Optical Dual Sensor (highly recommended, BTW) and it works fine (wheel and all) My mouse has 6 buttons (has a little thumb button that I never use) but hopefully my config will help you sort out yours. First off, I don't use moused. Just don't see any need for it. However, I think (guessing) that you might do better without the -z option. Here is the applicable entry in XF86Config: Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/psm0" Option "Buttons" "6" Option "ZAxisMapping" "4 5" You may find that your z-axis (i.e. scroll) isn't the same numbers, try "3 4" maybe. I had to do a little guesswork to get mine working correctly at first. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message