From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 13:19:33 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 8F1D937B404 for ; Mon, 7 Apr 2003 13:19:33 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BE0143F3F for ; Mon, 7 Apr 2003 13:19:30 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h37KJJD4088596; Mon, 7 Apr 2003 15:19:19 -0500 (CDT) (envelope-from dan) Date: Mon, 7 Apr 2003 15:19:19 -0500 From: Dan Nelson To: The Anarcat , freebsd-questions@freebsd.org Message-ID: <20030407201919.GA2729@dan.emsphone.com> References: <20030407184819.GK649@lenny.anarcat.ath.cx> <20030407194040.GA1651@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030407194040.GA1651@lenny.anarcat.ath.cx> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i Subject: Re: 6 button moused? 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: Mon, 07 Apr 2003 20:19:34 -0000 In the last episode (Apr 07), The Anarcat said: > Ok, i've done a little research on my own. > > There is a maximum of 31 buttons set in sys/mouse.h: > > #define MOUSE_MAXBUTTON 31 > > ..so that's probably not the issue. Thinking the problem might be more > a matter of mapping between X and moused, I've run moused -d -f to see > what was going on. A log is attached. It was recorded when pressing: > > 1- left mouse button > 2- middle mouse button > 3- right mouse button > 4- "sixth" mouse button (the thumb button) > 5- wheel up > 6- wheel down Why do you call it the "sixth" button? What are buttons 4 and 5 (and don't say wheel up/down, those aren't buttons :) I think you might need to simply change your XF86config file to read Option "YAxisMapping" "5 6" since on a standard 3-button/wheel mouse it's "4 5". I know "ZAxisMApping" is what you had, but the manpage says YAxisMapping is the one you need. Docs for the mouse driver in X are unfortunately obscured by the FreBSD mouse manpage, but you can get to them with man -M /usr/X11R6/man mouse or lynx /usr/X11R6/lib/X11/doc/html/mouse.4.html -- Dan Nelson dnelson@allantgroup.com