Need more buttons

Sean McNeil sean at
Sat Apr 12 01:50:51 CEST 2008

Having only 2 buttons is a little bit of a constraining in some 
instances. To provide an extra button, I've modified the I2C to send 
MENU_KEY when the power button is pressed and released within a second 
and POWER_KEY when held past 1 second. It would be nice to do the same 
for the other key, but I'm not certain how to accomplish that. I'd 
assume I need a timer.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcf50633.c.diff
Type: text/x-diff
Size: 2840 bytes
Desc: not available
Url : 

More information about the openmoko-kernel mailing list