Um. EventHub.cpp reads the data from the driver. You can look at EventHub to see how it reads it. There isn't anything more to say about I don't think -- it reads the next event from the driver, and the driver provides it. (I can't really help you with details in the kernel, I work in the user space.)
On Mon, Oct 12, 2009 at 11:42 AM, Leo <[email protected]> wrote: > > Hi Dianne, > > Thanks for your reply. Can you please describe how events are passed > from touch screen DRIVER to EventHub.cpp (JNI layer) when a touch > screen event gets generated? > > Regards > Leo > > > > > On Oct 12, 7:25 pm, Dianne Hackborn <[email protected]> wrote: > > EventHub.cpp and KeyInputQueue.java are the main participants. > > > > > > > > On Mon, Oct 12, 2009 at 10:10 AM, Leo <[email protected]> wrote: > > > > > Hi Guys, > > > > > I'll be grateful if someone can explain that how the JNI layer (Native > > > layer) gets notified by the touchscreen driver when a touchscreen > > > event occurs? Any documentation or API flow chart on this will be of > > > great help. > > > > > Thanks in advance > > > > > Leo > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---
