[XFree86] Xinerma and Mouse Pointer
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
Re: [XFree86] Xinerma and Mouse Pointer
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
RE: [XFree86] Xinerma and Mouse Pointer
Sorry of my ignorance on this, but I new to this stuff. How do I get the panoramix data into the elo driver (xf86elo.c)?It seems as if there should be some easy way to do this. Thanks, Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Vojkovich Sent: Wednesday, August 10, 2005 3:12 PM To: 'xfree86@XFree86.Org' Subject: Re: [XFree86] Xinerma and Mouse Pointer 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 ___ XFree86 mailing list XFree86@XFree86.Org http://XFree86.Org/mailman/listinfo/xfree86