From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 13 04:11:31 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D66216A4CE for ; Tue, 13 Jul 2004 04:11:31 +0000 (GMT) Received: from zebra.esosoft.net (zebra.esosoft.net [38.118.200.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D3443D48 for ; Tue, 13 Jul 2004 04:11:31 +0000 (GMT) (envelope-from groups@xscd.com) Received: from localhost ([127.0.0.1] helo=cotopaxi) by zebra.esosoft.net with esmtp (Exim 4.30) id 1BkEde-0003Qb-MZ for freebsd-multimedia@freebsd.org; Mon, 12 Jul 2004 21:11:31 -0700 From: steve d To: freebsd-multimedia@freebsd.org Date: Mon, 12 Jul 2004 22:11:26 -0600 User-Agent: KMail/1.5.4 References: <20040712154424.E20939@ganymede.hub.org> <000401c4684c$5ac17e90$1d0f14ac@METALLER> <200407121746.05028.soralx@cydem.org> In-Reply-To: <200407121746.05028.soralx@cydem.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407122211.26586.groups@xscd.com> Subject: Re: Logitech Trackman - middle button/wheel X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 04:11:31 -0000 On Monday 12 July 2004 05:46 pm, soralx@cydem.org wrote: > > Do not specify "ZAxisMapping" in 'XF86Config', use this option > for moused: "-z4 5". Works for me. --- --- ...And if your mouse is a USB mouse and you use the moused, then remove the entries for moused in /etc/rc.conf and instead put your moused options (listed in "man moused") into /etc/usbd.conf Here is the pertinent part of my /etc/usbd.conf file: device "Mouse" devname "ums[0-9]+" attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -3 -w4 ; /usr/sbin/vidcontrol -m on" I have a logitech "Marble Mouse USB," that includes four buttons and a trackball. The "-3" option above, in /etc/usbd.conf, causes my mouse to act as though a "middle button" (a button number 2) is pressed whenever I press the left and right buttons (buttons 1 and 3). The "-w4" option to moused causes the 4th button (the third physical button, since the second button is emulated as mentioned above with the -3 option) to act as a "scroll lock" button, which means that when I press that small button and move the trackball, the contents of the window in X scrolls instead of the cursor moving. Very handy-- Steve D NM US