Sergey,

but anyway if your touchscreen is mounted in the wrong way the pointer will 
then not follow your fingertips

this is from xf86Elo.c
<----
/*
 ***************************************************************************
 *
 * Default constants.
 *
 ***************************************************************************
 */
#define ELO_MAX_TRIALS  3               /* Number of timeouts waiting for a     
*/
                                        /* pending reply.                       
*/
#define ELO_MAX_WAIT            100000  /* Max wait time for a reply (microsec) 
*/
#define ELO_UNTOUCH_DELAY       5       /* 100 ms                               
*/
#define ELO_REPORT_DELAY        1       /* 40 ms or 25 motion reports/s         
*/
#define ELO_LINK_SPEED          B9600   /* 9600 Bauds                           
*/
#define ELO_PORT                "/dev/ttyS1"

#define DEFAULT_MAX_X           3000
#define DEFAULT_MIN_X           600
#define DEFAULT_MAX_Y           3000
#define DEFAULT_MIN_Y           600
---->

> -----Original Message-----
> From: Sergey Babkin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 25, 2005 2:16 PM
> To: Veikko Werner; [EMAIL PROTECTED]; devel@XFree86.Org
> Subject: Re: RE: Touch Input Driver port 3.3.6 -> 4.x
> 
> 
> >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

Reply via email to