Multiple mice (touchpad/bluetooth/etc)

Eric Anderson anderson at centtech.com
Fri May 5 19:38:17 UTC 2006


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.
------------------------------------------------------------------------


More information about the freebsd-mobile mailing list