[ECOS] ipaq touchscreen

Tom Coremans tom.coremans@acunia.com
Mon Mar 18 06:06:00 GMT 2002

Gary Thomas wrote:

> On Mon, 2002-03-18 at 06:29, Tom Coremans wrote:
> > Hi,
> >
> > I am trying to get the touchscreen up and running for the ipaq.
> >
> > When I use the function ts_get_event I get strange coordinates: they
> > range from (63,1023) to (63,51) and from (957,1023) to (957,51).
> >
> > Shouldn`t they be somehing like (0,0) and (320,240) ?
> Did you calibrate it first?  The touch screen driver is self calibrating
> and you need to touch all four corners at least once before relying on
> any data to be accurate.

Thanks for replying but it doesn`t work yet.

When I start my program and poll the touchscreen with ts_get_event the
first thing I do is touch the four corners but the result is still the

When do I have to do the calibration of the touchscreen? Is there a
function I have to call?



Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list