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).
--
Nadav Har'El | Wednesday, Dec 12 2001, 27 Kislev 5762
[EMAIL PROTECTED] |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Tact is the art of making a point without
http://nadav.harel.org.il |making an enemy.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]