>From: Veikko Werner <[EMAIL PROTECTED]> > >There are no default Xmin/Max Ymin/Max values for any resistive touch devices. >A good possibility would be to include a calibration routine into the driver >if possible.
There are manufacturer-specified ranges for both ELO and Microtouch (though I don't know if they are using the resistive technology). They may be not perfectly precise but they are good enough for the precision of a finger touch - since the fingers are much bigger than pixels, you can't touch a particular pixel anyway. For ELO the range is around from 300 to 3700 I don't remember the exact numbers, for Microtouch it's from 0 to 16K. The drivers have the defaults compiled into them which can be changed from XF86Config. The problem is that the ELO driver has (had?) it's defaults set to 0-16K as well, so without an explicit setting in the config file it does not work in any useful manner. -SB >> -----Original Message----- >> From: Sergey Babkin [mailto:[EMAIL PROTECTED] >> Sent: Saturday, May 21, 2005 2:52 AM >> To: devel@XFree86.Org >> Subject: Re: Touch Input Driver port 3.3.6 -> 4.x >> >> >> Fred Gleason wrote: >> > >> > On Wednesday 18 May 2005 18:48, Quentin Olson wrote: >> > > I have the source for an old input driver that was >> written for XFree86 >> > > 3.3.6 that I would like to use under 4.x (4.5). Is there any >> > > documentation on what is required, howtos, etc.? >> > >> > Which touch hardware in particular are you trying to >> support? A driver for >> > the USB-based ELOs was just recently added. >> >> BTW, the serial ELO driver could benefit by setting the defaults >> X and Y ranges correctly. They are something like 300 to 3700, >> same as for USB. I can look up the exact values in the ELO docs >> if anybody cares. >> >> Or maybe they are already correct now - I haven't checked it >> for a while. >> >> -SB >> _______________________________________________ >> Devel mailing list >> Devel@XFree86.Org >> http://XFree86.Org/mailman/listinfo/devel >> _______________________________________________ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel