From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 9 04:47:36 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 CDA3716A420 for ; Sun, 9 Oct 2005 04:47:35 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CCC643D45 for ; Sun, 9 Oct 2005 04:47:35 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by qproxy.gmail.com with SMTP id o12so77985qba for ; Sat, 08 Oct 2005 21:47:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MpnPvz2ysJym+ujKvj5eKu9VZhwtGq6/bgpda2Auz1xprySH7ekkuNA/wGDu6mdcPgDe+XgScpRK4b+crS+Uf9cravSrXXn+I4dEatPWoJK1hIONrzUKR72ZgPtywSCTlkCmWqFX92pKUcuQrmaDI83wGGR+a5LOzbDl9ctZf3o= Received: by 10.65.40.18 with SMTP id s18mr2382900qbj; Sat, 08 Oct 2005 21:47:34 -0700 (PDT) Received: by 10.65.35.19 with HTTP; Sat, 8 Oct 2005 21:47:34 -0700 (PDT) Message-ID: Date: Sun, 9 Oct 2005 04:47:34 +0000 From: Eric Kjeldergaard To: Arne Schwabe In-Reply-To: <430E02DE.2050002@rfc2549.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <430E02DE.2050002@rfc2549.org> 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 Reply-To: Eric Kjeldergaard List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 04:47:36 -0000 On 8/25/05, 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? moused supports horizontal scrolling using 2 and -2 instead of 1 and -1 as values for the zaxis. xorg handles it similarly so for x to do horizontal and vertical, it should have something like Option "Buttons" "7" Option "ZAxisMapping" "4 5 6 7" Hope that helps, Eric -- If I write a signature, my emails will appear more personalised.