[PATCH 6/6] xserver: input device id counter fix
Magnus Vigerlöf
Magnus.Vigerlof at home.se
Tue Apr 3 12:50:21 PDT 2007
On Tuesday 03 April 2007 03:01, Peter Hutterer wrote:
> On 03/04/2007, at 04:37 , Magnus Vigerlöf wrote:
> > As I understand it each pointer capable input device gets one
> > pointer on the
> > screen. That would be ideal for a mouse or touchpad, but how well
> > will that
> > work with Wacom tablets?
> >
> > Those tablets can have several input devices defined for one single
> > connected
> > tablet (stylus, eraser, cursor(=mouse), ...) but most can't report
> > movement
> > for more than one at the same time. So if I'd like to have a specific
> > keyboard associated with both the stylus and cursor (depending on
> > which I'm
> > using) would that be possible or will I have to change the association
> > depending on which sends motion events? I guess I'm asking if it
> > would be
> > possible to join two or more input devices so they share one cursor
> > (might be
> > the opposite what you're doing with MPX tho)?
>
> There's a "SharedPointer" flag you can add to the device section in
> the configuration file which causes a device to share the pointer
> with the virtual core pointer. So all devices with the SharedPointer
> flag set will use the same cursor sprite.
> It worked for mice, but I haven't tested it for a while and it could
> be broken since I removed the virtual core pointer from the device list.
>
> Eventually I'll add an additional argument to specify which device to
> share the sprite with but that's rather low on my todo list right now.
That sounds pretty much what I was after. No rush however, I was mostly
curious how those kind of devices could be used.
Thanks for the summary of the current status of MPX, that was an interesting
reading. Would it be possible to add some typical usages of MPX for the next
edition (or your site)? As a long user of a stock single-pointer Xserver I
can't say I really understand which benefits I would get by using it. Hope
that will change so I know if it's something I want to have :)
Cheers
Magnus V
More information about the xorg
mailing list