Hi Jinjun, You can take a look at my pxafb.c here: http://sites.google.com/site/siteofhx/Home/android/android-porting-steps/english/pxafb.c?attredirects=0 And you should set one of your button's keycode as KEY_BACK. Then you will be able to get back to previous screen by pressing that button. Jinjun wrote: Thanks, I have taken a look at my pxafb.c file and it is different from your file "a", the one before the patch you provided.We have tried to integrate your patch to our current code and it did not solve our problem. Is it good enough that just add pxafb_pan_display function to our current code or more is needed. Can you post your pxafb.c source file somewhere so that we can be more understanding what you have achieved? Also, what key should I use to get back to the previous screen. More patch is needed to do that? Thank you so much for help. Jinjun On Dec 10, 6:52 pm, mizmit1222 <mizmit1...@gmail.com> wrote:Hi, I'm playing with Sharp Zaurus C3000 whose CPU is PXA270. The frame buffer driver is pxafb. See pxafb_pan_display() in the patch file of this page.http://androidzaurus.seesaa.net/article/105551643.html Also, ypanstep should be set to none-zero at initialization. Cheers, On Dec 11, 10:16 am, Jinjun <jinjunl...@gmail.com> wrote:Hi Reed,I am using USB mouse and keyboard. How do I change the kpad driver? Thanks,JinjunOn Dec 9, 7:42 pm, mizmit1222 <mizmit1...@gmail.com> wrote:Hi,I guess your display driver doesn't support panning function.Each time you press the cursor key, Android updates frame buffer, but if frame buffer driver doesn't support panning function, only once between twice your display is actually updated.On Dec 10, 11:39 am, Reed Huang <reed.hu...@gmail.com> wrote:Your development board might be using matrix keyboard mode instead of directly connecting each button on each single GPIO. I got similar sympton when porting on the Asus P535 and got it solved by changing the keypad driver. Jinjun wrote:Hi, I am using PXA270 as my development board for Android and have some difficult to use my keyboard to select icons and menus on the LCD screen. I tried to use left, right, up and down arrow key to select icon. Sometimes there is no response at all and if it does response, the second icon next to the current one will get highlighted hence it is very difficult for me to get desired one selected. If I do get the one I wanted, press enter key then actually activate the menu of the other icon, usually next to the one selected. Can anyone provide help? Also, can anybody explain the content of default qwerty.kl? Thanks for your help. Jinjun- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~--- |
- [android-porting] How to use Qwerty keyboard to select icon and... Jinjun
- [android-porting] Re: How to use Qwerty keyboard to select... Reed Huang
- [android-porting] Re: How to use Qwerty keyboard to se... mizmit1222
- [android-porting] Re: How to use Qwerty keyboard t... Jinjun
- [android-porting] Re: How to use Qwerty keyboard t... Jinjun
- [android-porting] Re: How to use Qwerty keyboa... mizmit1222
- [android-porting] Re: How to use Qwerty k... Jinjun
- [android-porting] Re: How to use Qwer... Reed Huang
- [android-porting] Re: How to use ... reedhuang
- [android-porting] Re: How to use ... mvniekerk
- [android-porting] Re: How to use ... Jinjun
- [android-porting] Re: How to use ... twebb
- [android-porting] Re: How to use ... Jinjun
- [android-porting] Re: How to use ... Reed Huang
- [android-porting] Re: How to use ... Jinjun
- [android-porting] Re: How to use ... Reed Huang
- [android-porting] Re: How to use Qwerty keyboard to se... twebb