Following is the formula
if (device.tInfo != null){ //system/etc/pointercal exist!!
reportData[j + MotionEvent.SAMPLE_X] = (device.tInfo.x1 * ??? +
device.tInfo.y1 * ??? +
device.tInfo.z1) / device.tInfo.s;
}else
reportData[j + MotionEvent.SAMPLE_X] =
((reportData[j + MotionEvent.SAMPLE_X]-
absX.minValue)
/ absX.range) * w;
Which parameter should be assigned for "???" ? I've tried reportData[j
+ MotionEvent.SAMPLE_X] and reportData[j + MotionEvent.SAMPLE_Y] but
still unable to work.
BR
John
BR
John
On 12月22日, 下午5時16分, Michael Trimarchi <trimar...@gandalf.sssup.it>
wrote:
> touch.patch
> 6K檢視下載- 隱藏被引用文字 -
>
> - 顯示被引用文字 -