03-20-2010 11:20 PM
Does anyone know how to capture Alt + Volume on the Storm 9530 with 5.0?
I am able to capture the volume keys but not in combination with the Alt key.
I can see the little Alt symbol in the upper right hand corner of the Storm when I press "!?123".
I thought that would do it... This works fine on non-touch devices.
03-22-2010 02:35 PM
How are you currently capturing this? Are you using a KeyListener on a screen within your application or are you using the MediaKeyListener? Can you provide a code snippet?
03-22-2010 06:42 PM
I am overriding keyControl in my screen class and checking the status parameter.
protected boolean keyControl(char c, int status, int time)
{
boolean altHeld = false;
if( (status & KeypadListener.STATUS_ALT) == KeypadListener.STATUS_ALT ) {
altHeld = true;
// System.out.println("ALT held in keyControl");
}
}
I don't want to use MediaKeyListener since it's only available in 5.0