Android on OMAP
|2011-09-01 04:36:44||Re: [Omapandroid-discussion] Question about Android's touchscreeninput|
|Posted By: Amit Pundir|
Join Date: 2009-09-11
|On Wed, Aug 31, 2011 at 11:01 PM, wiiNinja
> Hello everyone,
> I'm trying to educate myself from the bottom up. So I learned that when it
> comes to the touchscreen, Android requires the kernel's input subsystem to
> provide 5 events: x coordinate, y coordinate, pressure, penup, pendown.
> This is made available by the driver in the user space through
> /dev/input/event*. I am trying to find out which entity is actually making
> use of this interface to provide the input to the upper layers.
> Specifically, is there a HAL library or some native Linux code which use
> that interface?
> Thanks in advance for any insight.
Input interfaces e.g. /dev/input/event* are exposed to Android User space
through EventHub (frameworks/base/libs/ui/EventHub.cpp).
Complete native Event handling support (Input Reader, Dispatcher etc) is
implemented in libui.so (frameworks/base/libs/ui/*).
> Omapandroid-discussion mailing list