The high level pointer code doesn't know about Xinerama.
It operates in single logical screen space and assumes it's
moving a cursor over the logical screen with input independent
of the screens (like from a mouse).  To make touch screen drivers
Xinerama aware, they would probably need to report their motion
relative to the logical screen.  I suppose that might look
something like:


#ifdef PANORAMIX
   if(!noPanoramiXExtension) {
    /* given x,y on screen n, translate to the logical coordinate */
      x += panoramiXdataPtr[n].x;
      y += panoramiXdataPtr[n].y;
   }
#endif

  This is just a guess though.  I haven't studied this.


                        Mark.


On Wed, 10 Aug 2005, DOLLOFF, MATTHEW D. (MATT) (JSC-ER7) (NASA) wrote:

> I am currently trying to run 4 touch screen monitors using Xinerama and am
> encountering a few problems.  First of all, each monitor has it's own
> graphics card and is up and running Xinerama without any problems.  The
> problem occurs when I try to use the touch capabilities.  Every screen
> either a) sends the pointer to the first screen (when I don't specify a
> screen number in the touch portion of the elo driver) or only works when I
> first put the pointer on that screen using the mouse (when I do specify a
> screen number for each device).  I am trying to figure out how Xinerama
> deals with pointers so that I can get the pointer to move to the correct
> screen.
>
>
>
> Thanks,
>
> Matt Dolloff
>
>
_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to