Help - Search - Members - Calendar
Full Version: Pointercal File
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > 5x00 General discussions
Cy1clown
Does anyone know the format of the pointercal file?
The contents are like this
21596 0 173612 0 14745 978165 65536
If I manualy input this file I can get my 5500 to start by bypassing the calibration screen.

I have tried two different sets of numbers as above and both are far enough off that it makes the touch screen unusable. If I knew what these numbers meant I might be able to adjust them so by digitizer works properly.

Jon
daniel3000
AFAIK these values represent hardware-dependent parameters of your touchscreen, i.e. offset values for reference positions you tap in the calibration screen.

So, if you start the same system always on the same zaurus hardware, you should be well with always the same values.

If you need to copy a system to another zaurus hardware, you need different values, which are probably very hard to find except via running through the calibration screen.

daniel
howdouknow
QUOTE(Cy1clown @ Feb 15 2007, 09:37 AM)
Does anyone know the format of the pointercal file?
The contents are like this
21596 0 173612 0 14745 978165 65536
If I manualy input this file I can get my 5500 to start by bypassing the calibration screen.

I have tried two different sets of numbers as above and both are far enough off that it makes the touch screen unusable.  If I knew what these numbers meant I might be able to adjust them so by digitizer works properly.

Jon
*


Ok, since I'm looking for the same information, here is an indirect refence: onThe QWSCalibratedMouseHandler -Qt 4.3- Reference Page there's a couple of equations that use the seven numbers (a, b, c, d, e, f and s) in /etc/pointercal to translate from device coordinates (Xd, Yd) to screen coordinates (Xs, Ys). In case that page was to disappear, here are the equations:

s*Xs = a*Xd + b*Yd + c
s*Ys = d*Xd + e*Yd + f

I'll have to play a bit with it on my N800, and see what happens.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.