It would be great if you could add that... what do you mean by "live
calibration" ?

It seems to me that calibration should be (mostly) a userland utility,
that you do not want to run everytime the Xserver starts. I probably
misunderstood what you meant.

My only issue currently, is that if resolution changes, the mapping from
touchscreen coords to screen coords changes, thus the touchscreen driver
should be able to be notified, or query what the actual screen resolution
is.

The trick mentioned previsously about querying the current modeline would
work, but it's a hack... something cleaner (portable, etc.)  would be
nicer.

I admit I do not know the specifics of touchpad/stylus support, but I
imagine that is also the only dynamic/live resolution support that would
be necessary ?

Something like XFGetCurrentMonitorResolution(displayID, &width, &height)
...

BTW, I submitted the source for the magictouch driver on this mailling
list, is there any chance it will appear in the XFree86 tree someday ? If
a comitter needs changes, fixes to it or has questions, I'll be happy to
help as I can.

bruno

On Thu, 9 Jun 2005, Fred Gleason wrote:

> On Tuesday 07 June 2005 16:04, Tristan Van Berkom wrote:
> > Since touchscreen drivers seem to be getting back in style, maybe
> > we should write up some live calibration support ;-)
>
> I'm game.  I've actually been toying with the idea of doing something like
> this for the ELO drivers for some time.
>
> Before I go charging off and reinventing the wheel, does anything simiklar to
> this exist already?  Ideally, it should be sufficiently generic that any
> input device that uses absolute coordinates will be able to use it.
>
> Cheers!
>

_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Reply via email to