From owner-freebsd-mobile@FreeBSD.ORG Fri May 5 19:38:17 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 1223916A400 for ; Fri, 5 May 2006 19:38:17 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A86F343D46 for ; Fri, 5 May 2006 19:38:16 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k45JcFAV009357; Fri, 5 May 2006 14:38:15 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <445BA9A8.6080702@centtech.com> Date: Fri, 05 May 2006 14:38:16 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Maksim Yevmenkin References: <445B506C.3060004@centtech.com> <445B9421.5070504@savvis.net> In-Reply-To: <445B9421.5070504@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1445/Fri May 5 03:30:03 2006 on mh2.centtech.com X-Virus-Status: Clean 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 19:38:17 -0000 Maksim Yevmenkin wrote: > 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. Thanks! I had to manually apply it to 6-stable, but once I did, it works flawlessly.. Will it be mfc'ed? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------