Re: [android-porting] Touch Calibration problem in the latest codebase

2009-12-22 Thread Michael Trimarchi
Hi, John Cola wrote: > Dear All > In the latest open source, the InputDevice.java has been modified a > lot. > And I cannot have a touch calibration successfully after > "ts_calibrate". > > Following is the formula > > if (device.tInfo != null){ //system/etc/pointercal exist!! >reportData[

[android-porting] Touch Calibration problem in the latest codebase

2009-12-22 Thread John Cola
Dear All In the latest open source, the InputDevice.java has been modified a lot. And I cannot have a touch calibration successfully after "ts_calibrate". Following is the formula if (device.tInfo != null){ //system/etc/pointercal exist!! reportData[j + MotionEvent.SAMPLE_X] = (device.tInf