[PATCH 6/6] xserver: input device id counter fix

Peter Hutterer mailinglists at who-t.net
Mon Apr 2 18:01:55 PDT 2007


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.


Cheers,
   Peter

--
Multi-Pointer X Server
http://wearables.unisa.edu.au/mpx





More information about the xorg mailing list