[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two mouses in X.
please tell us if that works !
regards
erez.
The Rabbit of Vugluskr wrote:
> Thanks ;-)
> Max.
>
> On Wednesday 12 December 2001 00:18, Nadav Har'El wrote:
> > On Tue, Dec 11, 2001, The Rabbit of Vugluskr wrote about "Two mouses in X.":
> > > IBM laptop with "native" mouse (I don't remember how it's called, the red
> > > button people sometimes call "dagdegan":-)) recognized as Generic PS/2
> > > (/dev/psaux) and USB mouse (/dev/input/mice). X works perfectly with
> > > both, of couse, but my purpose is make the user able to unplug USB mouse
> > > and continue working with "red button" "on the fly". OS - RH7.2
> >
> > You can perhaps try to have both mice work all the time (even when the USB
> > mouse is plugged in), by having two mice. Look at your XF86Config-4 file:
> > it has parts looking like:
> >
> > Section "ServerLayout"
> > ..
> > InputDevice "Mouse0" "CorePointer"
> > ..
> > EndSection
> > ...
> > Section "InputDevice"
> > Identifier "Mouse0"
> > Driver "mouse"
> > Option "Device" "/dev/mouse"
> > Option "Protocol" "imPS/2"
> > Option "Emulate3Buttons" "off"
> > Option "ZAxisMapping" "4 5"
> > EndSection
> >
> >
> > You can add another mouse, Mouse1 (with a different "Device" option),
> > and then say that Mouse1 is an alternate pointer on that InputDevice line.
> > I don't remember the exact syntax - maybe you should read the docs or maybe
> > someone else can give a working example - but I tried it once and it
> > worked: I got both a PS2 mouse and a USB mouse to work on the same system
> > concurrently. I could even have the mice "fight" each other - you move the
> > two mice, and see which way the pointer ends up moving (obviously, even
> > with two mice you only end up with one pointer).
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
--
This message is for the designated recipient only, and will self destruct in 5
seconds,
Please Duck beforehand.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il