nanogui: Microwindows, Touch Screen & calibration
Subject:
Re: Microwindows, Touch Screen & calibration
From:
S A McConnell ####@####.####
Date:
7 Sep 2000 18:39:55 -0000
Message-Id: <39B7E254.603C1EF@cotw.com>
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