We are trying to determine the best way to patch InputDevice.java to
correct a sensor issue. The touchscreen is detecting the location
opposite of the pressure. For instance, to unlock the device, I have
to put my finger in the exact spot on the left side of the screen for
it to register on the right side. The same thing happens for buttons,
press right to touch the left button, and vice versa. We thought it
might be possible to half the absolute value, but that may not work as
the absX range is 0-4095. From debug:

Left Side
D/InputDevice( 1062): reportData[j + MotionEvent.SAMPLE_X] = 3708.0
D/InputDevice( 1062): absX.minValue  = 0
D/InputDevice( 1062): absX.range  = 4095
D/InputDevice( 1062): w  = 799
D/InputDevice( 1062): reportData[j + MotionEvent.SAMPLE_X] = 3711.0
D/InputDevice( 1062): absX.minValue  = 0
D/InputDevice( 1062): absX.range  = 4095
D/InputDevice( 1062): w  = 799

Right Side
/InputDevice( 1062): reportData[j + MotionEvent.SAMPLE_X] = 256.0
D/InputDevice( 1062): absX.minValue  = 0
D/InputDevice( 1062): absX.range  = 4095
D/InputDevice( 1062): w  = 799

Would adjusting currentmove be the place? or is there a better way to
correct this issue in Froyo?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to