On May 27, 2009, at 6:20 AM, Gowda wrote:
> > Thanks for the reply Turner, > >> the Android system relies on the fact that these button presses are >> sent as >> from the Linux kernel as input event with specific codes. > > Is there any way to invoke those input events from the system (as a > software button)? > if yes, then where should I look for the details in source code. Instead of modifying the Android input/event code, you could create a uinput keypad driver. Send events from your soft buttons via binder to the uinput daemon. The uinput driver then generates Linux input events that follow the standard path into EventHub. -Matt --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
