While it's true that the touchscreen calibration should only be done
once during the initial development, it might be nice to have it be
generate the first time you boot up the device. To that end, check out
[1] which is a calibration application by 0xdroid that does just
that..

[1] - http://gitorious.org/0xdroid/packages_apps_tscalibration

-- Ashwin



On Wed, Jan 12, 2011 at 9:49 AM, Chinmay S <cvs...@gmail.com> wrote:
> Hi,
>
> AFAIK, calibration using TSLIB is done before compilation in code
> (i.e. during building/testing support for the device's touchscreen).
>
> The values generated in the file pointercal by TSLIB are used to code the
> static-constants in the file:
> frameworks/services/java/com/android/server/InputDevice.java
>
> As such this cannot be used during run-time (i.e by the end user)
>
> Absense of runtime calibration of the touchscreen on android should not be
> an issue as the touchscreen doesn't get altered during the lifetime of the
> device and the values it returns are always the same and do not change with
> time/usage.
>
> Also, change of co-ordinate axes due to change in orientation is
> automatically handled by the android framework and no callibration is reqd
> in that case too.
>
>
> Regards
> CVS
>
>
>
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to