[Q] Context specific hardware key mapping

nedge2k

Senior Member
Jun 28, 2005
159
3
0
Leicestershire
www.MSMobileNews.com
Can anyone suggest the best (fastest/efficient) method for modifying the behavior of a hardware key press based on which app has focus and also if a menu has been opened?

I'm looking to change the action of DPAD UP/DOWN to Volume UP/DOWN if certain apps have focus but then change it back if a menu is opened in the app or if focus moves somewhere the mod is not required (i.e. launcher).

The device in question runs Gingerbread if that makes a difference.

TIA