nanogui: Microwindows, Touch Screen & calibration


Previous by date: 8 Sep 2000 18:09:06 -0000 Re: Multiple Mwin Apps, Lindsay Mathieson
Next by date: 8 Sep 2000 18:09:06 -0000 keyboard not working, Alessandro Staltari
Previous in thread: 8 Sep 2000 18:09:06 -0000 Re: Microwindows, Touch Screen & calibration, Greg Haerr
Next in thread:

Subject: Re: Microwindows, Touch Screen & calibration
From: brad ####@####.####
Date: 8 Sep 2000 18:09:06 -0000
Message-Id: <Pine.LNX.4.10.10009081409070.4388-100000@localhost.localdomain>

tpcal produces transformation coefficients for mou_tp.  mou_tp uses the
coefficients to transform raw touch panel data to (x,y) screen data.  This 
has nothing to do with ts_ioctls.

Regards,
Brad

On Thu, 7 Sep 2000, S A McConnell wrote:

> Greg Haerr wrote:
> 
> > There's a working touch panel calibrator for the linux-vr
> > style touch screen driver in the Microwindows source that
> > Brad LaRonde wrote.  It's GPL, so it's in
> > microwin/src/contrib/GPL/tpcal
> 
> Ok I have done that cross compiled it and stuffed it into my RAM Disk.
> 
> When I run tpcal it hands back seven parameters. With the MIPS code
> those values
> were placed into /etc/pointercal. Which mou_tp.c would read and use to
> adjust the
> values being returned from the touch screen device. (calibration occured
> on the application side.)
> 
> I notice that the ts_ioctl supports seven commands. So do those seven
> values represent (raw_max_x, raw_max_y, res_x, res_y, raw_min_x,
> raw_min_y, xyswp)?
> 
> Not knowing what they are I do not know what to do with them. Nor can I
> tell if the values I am getting are reasonable.
> tpcal results: (-273605, -633, 174383829, -700, 278166, -4003337, 65536)
> 
> 
> Should I send them to ts_ioctl cmd's 3-12?
> 
> Thanks,
> Scott
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 


Previous by date: 8 Sep 2000 18:09:06 -0000 Re: Multiple Mwin Apps, Lindsay Mathieson
Next by date: 8 Sep 2000 18:09:06 -0000 keyboard not working, Alessandro Staltari
Previous in thread: 8 Sep 2000 18:09:06 -0000 Re: Microwindows, Touch Screen & calibration, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.