Hi, I am running the latest Android 2.6.27 kernel on my own device. I don't have the touchscreen working yet so I figured I would try plugging in a USB keyboard and mouse.
Well, they work - sort of. The USB keyboard allows me to hit enter to navigate from the main menu to the application menu. The USB mouse left button seems to perform the same operation. The "volume-up" and "volume-down" keys make a ringer-volume menu pop up and adjust the volume up and down. The alphabet letters on the keyboard are printed on the screen in a bar at the botttom. If I unplug the USB keyboard the menu changes to the "dialer" icon on the main menu, I can then plug in the keyboard again and hit enter to launch the dialer icon. Beyond that, I can't navigate on the screen! I do get key events printed from evdebug with the proper keycode, but android doesn't see to use them. The arrow keys do not do anything. My question: what log or debug flags can I turn on to figure out what is going on in Android? Where in the code are these keys handled so I can figure out why certain keys are ignored? Is there some configuration I need to do? I haven't done anything with power management at all. I suspect something may be wrong there and/or the build I did does something differently with these keys. All I did was get the code from the repo: Then: . /build/envsetup lunch 1 make I copied the resulting system directory from the out directory to my phone and modified init.rc. Do I need to build or configure something differently to get USB keyboard and mouse recognizing all the keys from the keyboard? Thanks, Scott --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
