Hello All:
I'm porting Android on an imx51 for a new touchscreen.
I know Android use the touchscreen like an input device but I don't
know what are the values it wants? (X,Y,...) What is the unit? (pixel,
mm...)
Do you know which part of Android read the event file (dev/input/
event) of the touchs
> I know Android use the touchscreen like an input device but I don't
> know what are the values it wants? (X,Y,...) What is the unit? (pixel,
> mm...)
It will be (x,y) co-ordinates, where (0,0) being the top-left of the
screen and (max-x, max-y) being the bottom of the screen.
how it works:
- wh
KeyInputQueue.java uses JNI calls to ready the events via EventHub.h. The
KeyInputQueue and associated InputDevice classes do the mapping from raw
device coordinates to the screen.
On Wed, Apr 7, 2010 at 12:41 PM, Deva R wrote:
> > I know Android use the touchscreen like an input device but I d