Re: Multiple mice (touchpad/bluetooth/etc)
Eric Anderson <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
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. ------------------------------------------------------------------------ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"