Are you sure the driver is sending up the correct events? Fire up get event with: adb shell su -- getevent -lt /dev/input/event1
make sure the commands that are comming in, are what your idc/keymap are expecting... more info on that here: http://source.android.com/tech/input/getevent.html Weston On Friday, September 21, 2012 5:39:41 AM UTC-7, ffxx68 wrote: > > Hi cnet, > > yes, that's what I've also done. Indeed looks like the kernel driver isn't > the main problem, I think... > > Here's what I've achieved so far. I've introduced the .idc file for the > touch device, so it gets recognized as an actual "touch" screen, not as a > "pointer" pad. Then I've set the "showTouches" to true in the > InputReader.cpp code, so to force showing of the touch position. > > I've posted a brief recording of results on YouTube: > > http://www.youtube.com/watch?v=XqebuAw5Jws&feature=youtu.be > > As you can see from video, the touch is properly received by the EventHub > module, but somehow it's not dispatched to the window, which is the locker > screen in this case... > > Also, I've enabled debug logging into InputReader.cpp and EventHub.cpp, > but I can see messages in the logcat only from the latter, which is another > mystery to me... > > On Thursday, September 20, 2012 11:52:55 AM UTC-7, cneth wrote: >> >> You need to add a .idc file for each TouchScreen that defines it's >> characteristics: >> >> http://source.android.com/tech/input/input-device-configuration-files.html >> >> >> >> -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting