|
Hi Jinjun, It's no the kl file needed to be changed. It's your keypad driver. In my case, there is a line defined in qwerty.kl file as following: key 158 BACK WAKE_DROPPED which means that Android will regard the key code 158 sent by keypad driver as BACK key. So the changes in the keypad driver should be mapping the key code of the button which you want to it to be BACK key as 158. To sum up, when you press the Back button, the keypad driver detected, keypad driver send an event to input level with keycode 158, which then be received by Android, Android looks up the keycode in the kl file and find it's the BACK, then you get the effect you want, returning to previous menu. Jinjun wrote: Hi Reed, We just compiled our kernel with the pxafb.c file provided by you. It solved our problem. Thank you for your help. We still have problem of getting back to previous screen. I have done the following in my "Dell USB Keyboard Hub.kl" file 1) Added a line of "key 68 MENU KEY_BACK". Still can not get back to previous screen. 2) Undo 1) and add a line of "key 68 KEY_BACK WAKE_DROPPED". Still have the same problem. We will try something else and keep you updated.For the rest of people who is interested in this topic, the following is the difference between my pxafb.c and the one provided by Reed. 61a62 --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~--- |
- [android-porting] Re: How to use Qwerty keyboard to s... Jinjun
- [android-porting] Re: How to use Qwerty keyboard ... mizmit1222
- [android-porting] Re: How to use Qwerty keybo... Jinjun
- [android-porting] Re: How to use Qwerty k... Reed Huang
- [android-porting] Re: How to use Qwe... reedhuang
- [android-porting] Re: How to use Qwe... mvniekerk
- [android-porting] Re: How to use Qwe... Jinjun
- [android-porting] Re: How to use Qwe... twebb
- [android-porting] Re: How to use Qwe... Jinjun
- [android-porting] Re: How to use Qwe... Reed Huang
- [android-porting] Re: How to use Qwe... Jinjun
- [android-porting] Re: How to use Qwe... Reed Huang
- [android-porting] Re: How to use Qwerty keyboard to select... twebb
