From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 25 18:22:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4137016A41F for ; Thu, 25 Aug 2005 18:22:03 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6CEE43D45 for ; Thu, 25 Aug 2005 18:22:02 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id j7PIM0eK021766; Thu, 25 Aug 2005 13:22:00 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Thu, 25 Aug 2005 13:22:10 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: Arne Schwabe In-Reply-To: <430E02DE.2050002@rfc2549.org> Message-ID: <20050825131329.Y4372@thor.farley.org> References: <430E02DE.2050002@rfc2549.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-541147919-1124994130=:4372" Cc: freebsd-hackers@freebsd.org Subject: Re: Vertikal and Horizontal Scroll of (mighty) mice X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2005 18:22:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-541147919-1124994130=:4372 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 25 Aug 2005, Arne Schwabe wrote: > Hi, > > I just got myself myself a shiny white Mighty Mouse from Apple. > > I now have the Problem that Wheel if the scrolling to left and right. > I fixed this by teaching ums.c to prefer WHEEL over Z but it would be > nice to support both wheel and z axis scrolling. I checked the > mouse(4) but the dataformat there does not even support a forth axis. > Hacking ums.c to map z axis to buttons 7 and 8 would be possible, but > not a clean solution. Another Option would be to add a z2 axis or > something tothe SYSMOUSE format. > > What are your opinion? I have an MX1000[1] from Logitech with many buttons and a wheel. The wheel can scroll up and down and "click" left and right. The PS/2 driver did not support enough of its buttons which caused moused to not see all of the buttons. I recommend looking at this first link since it details one way of setting up a mouse with many buttons. I used the ums driver, but I had to enable more buttons in the driver[2]. You may need that patch to use it fully, but I do not know how many logical buttons you have. In X, you will need to configure the mouse with xmodmap. Here is my line to my mouse to do most of what I want. It moves the paste action to the button above the wheel instead of the click of the wheel. xmodmap -e "pointer =3D 1 7 3 9 10 6 2 8 4 5 11 12" Here is the mouse in xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/ums0" Option "Buttons" "12" Option "Emulate3Buttons" "false" Option "ZAxisMapping" "9 10" EndSection Se=E1n 1. http://floam.sh.nu/index.xhtml?page=3Dguides§ion=3Dmx1000 2. http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dusb/83353 --=20 sean-freebsd@farley.org --0-541147919-1124994130=:4372--