[android-porting] Re: Froyo tslib integration in KeyInputQueue

2011-04-29 Thread Diego
On Apr 28, 4:21 pm, Ashwin Bihari wrote: > This is something I need to track down as well..but for now, you can > set "setprop hw.nopm true" in your init.rc file and that will get your > touch events and keypresses working.. I've fixed the problem by activating "Suspend to RAM and standby" suppor

Re: [android-porting] Re: Froyo tslib integration in KeyInputQueue

2011-04-28 Thread Ashwin Bihari
Diego, This is something I need to track down as well..but for now, you can set "setprop hw.nopm true" in your init.rc file and that will get your touch events and keypresses working.. -- Ashwin On Thu, Apr 28, 2011 at 10:12 AM, Diego wrote: > On Apr 28, 12:59 pm, Diego wrote: >> Uncommentin

[android-porting] Re: Froyo tslib integration in KeyInputQueue

2011-04-28 Thread Diego
On Apr 28, 12:59 pm, Diego wrote: > Uncommenting some log messages in preprocessEvent in > WindowManagerService.java I found out that the culprit was this line: > > boolean screenIsOff = !mPowerManager.isScreenOn(); > > screenIsOff is true (yes, mPowerManager.isScreenOn() returns false > even if m

[android-porting] Re: Froyo tslib integration in KeyInputQueue

2011-04-28 Thread Diego
On Apr 28, 10:46 am, Diego Rondini wrote: > To make it work I had to force the send boolean variable to true after > "preprocessEvent" in KeyInputQueue.java. I was getting true only for the SYN > event... > > Now I'm investigating why I get false from preprocessEvent for every ABS > event, but is