On Tue, 2002-02-19 at 17:02, Simon Wong wrote:
> Actually, I wonder if I can have a separate X config entry to handle the
> touchpad separately?

Soitanly!  It's how I use an external mouse on my laptop.

>From my XF86Config-4:

Section "ServerLayout"
   Identifier "CRT"
   Screen 0 "inny" 0 0
   Screen 0 "outy" 0 0
   InputDevice "Keyboard0"    "CoreKeyboard"
   InputDevice "Mouse0"    "CorePointer"
   InputDevice "Mouse1"    "SendCoreEvents"
EndSection

Where "Mouse0" is set up as the internal mouse, and "Mouse1" as the
external.
The one problem I have with this approach is that, if the X server
doesn't detect Mouse1 at startup, then it will disable it for that
session.  I need to restart X if I want to use the external mouse.

What I'm playing with at the moment, is using gpm to poll multiple mice,
which it does quite happily with the -M parameter.  I'm calling gpm
like:

/usr/sbin/gpm -m /dev/psaux -t autops2 -Rms3 -M -m /dev/input/mice -t
autops2 -Rms3

The -R option repeats events to /dev/gpmdata, which X can use at its
mouse device.
The problem with this approach, is that I haven't been able to figure
out how to get gpm to repeat scroll events from my flaming bum mouse.
:-(

-- 
Peter
[EMAIL PROTECTED]

Let's just say that if complete and utter chaos was lightning, then he'd
be the sort to stand on a hilltop in a thunderstorm wearing wet copper
armour and shouting "All gods are bastards".
                -- Rincewind
                   (Terry Pratchett, The Colour of Magic)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to