[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev question



Sam Halliday <fommil@yahoo.ie> writes:

>> You don't.   In X, what you do is make one your primary mouse device,
>> and the other just sends mouse events to the primary mouse device.  So,
>> at my place, the touchpad is the primary mouse device, and the usbmouse,
>> when plugged in, sends mouse events through the primary mouse device.
>
> does that disable the touchpad when the usb mouse is plugged in?

Not the way I set it up, but it's possible to do it.  Take a look at
hotplug.  There is an event every time you plug in and take out an usb
device (oncee when you insert the device, and once when you take it
out).  I would think it would be possible to set in a script to do what
you want (changing X and possibly gpm).

I really can't help you there, because I've never tried it.

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes



Reply to: