Date: Tue, 16 May 2006 11:57:48 -0500 From: Eric Anderson <anderson@centtech.com> To: Bohdan Horst <nexus@hoth.amu.edu.pl> Cc: freebsd-mobile@freebsd.org Subject: Re: Multiple mice (touchpad/bluetooth/etc) Message-ID: <446A048C.7040809@centtech.com> In-Reply-To: <20060505190013.GC796@aristo> References: <445B506C.3060004@centtech.com> <445B9421.5070504@savvis.net> <20060505190013.GC796@aristo>
next in thread | previous in thread | raw e-mail | index | archive | help
Bohdan Horst wrote: > On Fri, May 05, 2006 at 11:06:25AM -0700, 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. >> > > touchpad with 2bt and usb mouse with 3bt(+roll) : > > > rc.conf: > > moused_enable="YES" > moused_ums0_flags="" > moused_flags="-3" > > > xorg.conf: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "Buttons" "5" > Option "ZAxisMapping" "4 5" > EndSection > > > maybe this will help a little (i don't need button swapping..) > > > regards > That works great, thanks! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446A048C.7040809>