A solution for using a calibration file /system/etc/pointercal was provided ages ago when Android was first open sourced. It was part of the OpenMoko support I released. You can look at that for reference.
On Fri, Feb 13, 2009 at 2:46 AM, Dianne Hackborn <[email protected]>wrote: > You'll need to write your own calibration UI and modify the window manager > or something related to apply the appropriate transformation to the raw > points. It is currently in the low-level queue where it scales the raw > touch screen coordinates to match the screen pixels, so that would be a > natural place to deal with a more complete transformation. > > On Thu, Feb 12, 2009 at 3:17 AM, Chris <[email protected]> wrote: > >> >> Hi all, >> >> I have a resistance touchscreen panel and use arm11 chip. >> >> Now we use hard-code to make raw date can transform to correct point >> for Linux system. >> But, I think this is not good idea for each devices. >> >> Could any body know how to do calibration at Android? and can detailed >> describe it. Thank you very much. >> >> > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
