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

Re: ignore touchpad if mouse connected

On 27 Jun 2004, Sam Halliday <fommil@yahoo.ie> wrote:
> i have my X setup to use /dev/input/mice which reads from the usb mouse or
> touchpad. i know how to set up X so that i select only one of these... but i
> wish to do something a little more complicated: i want to ignore the touchpad
> iff (if and only if) the mouse is connected. is this possible to set up in X? (a
> general solution including the console would be acceptable)

You can use xsetpointer to switch pointer devices manually. Note that
you should not set the SendCoreEvents option on a pointer device you
want to replace later.

Philipp Weis          pweis@pweis.com
Freiburg, Germany     http://pweis.com/

Attachment: signature.asc
Description: Digital signature

Reply to: