I can see this being quite useful as a way to coopt the power button for 
> other actions too:
>

example pseudocode:

If powerbutton held for > 1 second,  do nothing                             
 # reduces accidental presses 
if powerbutton held for >=1 s to < 2 s , call mysoftware restart
if powerbutton held for >=  2s to 5s,  call test routine           
if powerbutton held for > 5 s,# original action

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/bf2f3c30-fb00-4411-9ec0-6e574f99fb70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to