Sending to list as well.. -- Ashwin
---------- Forwarded message ---------- From: Ashwin Bihari <abih...@gmail.com> Date: Wed, Mar 31, 2010 at 9:33 AM Subject: Re: [android-porting] Touchscreen support for 7 Inch LCD panel To: nagarajan1...@gmail.com Gokul, You need to take those TSLIB generated calibration information and then feed that into Android so that it can properly scale the incoming X, Y, and Z coordinates from the touch screen controller.. I've ported the TSLIB package into Android and added the hooks into Android 1.6, you can check them out at: TSLIB - http://gitorious.org/android-omap3logic/external-tslib Android Changes - http://gitorious.org/android-omap3logic/frameworks-base Regards -- Ashwin On Wed, Mar 31, 2010 at 8:55 AM, Gokul Nagarajan <nagarajan1...@gmail.com> wrote: > Hello all, > We are working in OMAP3530 processor. We have changed the LCD size > from 480 x 272 to 800 x 480 . > We have changed the front panel parameters accordingly and we are able > to get Android screen properly. > > Currently we are working in touchscreen . We are using ads7846 touch > screen controller. > > We have tested Touch screen through tslib calibration after linux > booting. Its able to sense it. > > But in Android it should not able to sense the proper positions. > > we would like to know , how the xmin, xmax, ymin and ymax parameter > values are calculated for the new LCD resolution? > > ie For 480 x 272 the following values are given in the board file > > struct ads7846_platform_data ads7846_config = { > //#ifdef CONFIG_ADS_SCALED_EV > .x_min = 0, > .y_min = 0, > .x_max = 3800, > .y_max = 3800, > //#else > // .x_max = 0x0fff, > // .y_max = 0x0fff, > //#endif > > .x_plate_ohms = 180, > .pressure_max = 255, > .debounce_max = 20, > .debounce_tol = 10, > .debounce_rep = 1, > .get_pendown_state = ads7846_get_pendown_state, > .keep_vref_on = 1, > .settle_delay_usecs = 150, > }; > > > We would like to know for the new LCD 800 x 480 , how this value > should be calculated? > > ---Gokul > > > > > > > > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > To unsubscribe, reply using "remove me" as the subject. > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting