From owner-freebsd-mobile@FreeBSD.ORG Fri May 5 18:06:27 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D02F516A47E for ; Fri, 5 May 2006 18:06:27 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79F0B43D48 for ; Fri, 5 May 2006 18:06:27 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id E01CC3C1D3; Fri, 5 May 2006 13:06:26 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00439-02-21; Fri, 5 May 2006 13:06:26 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id 5C63C3BE29; Fri, 5 May 2006 13:06:26 -0500 (CDT) Message-ID: <445B9421.5070504@savvis.net> Date: Fri, 05 May 2006 11:06:25 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <445B506C.3060004@centtech.com> In-Reply-To: <445B506C.3060004@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-mobile@freebsd.org Subject: Re: Multiple mice (touchpad/bluetooth/etc) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 18:06:29 -0000 Eric Anderson wrote: > On my laptop, I have 2 mouse devices - one is the built in touchpad > (synaptics), and one is a bluetooth mouse. My touchpad has two buttons, > and my bluetooth mouse has many (9 I think). For my bluetooth mouse to > work, I need to have a line like this in my .xinitrc: > > xmodmap -e "pointer = 1 3 2 4 5 6 7 8 9 10 11 12 13" > > Of course, that makes my second button on my touchpad be button three, > which I don't want. > > Is there any way to enable 3 button emulation on the touchpad, but not > on a usb mouse (the bluetooth one), and enable the button swapping on > the bluetooth one, but not on the touchpad? switch buttons in bthidd. please see bin/94577 for more details. max