Debug.debug("keyPressed: [" + keyCode + "].");
	protected void keyPressed(int keyCode) {		//#if polish.debug.error		try {		//#endif			int gameAction = getGameAction(keyCode);			//#if tmp.menuFullScreen				//#if polish.api.nokia-ui				if (keyCode == FullCanvas.KEY_SOFTKEY1) {					if ( this.menuSingleLeftCommand != null) {						callCommandListener( this.menuSingleLeftCommand );						return;					} else {						if (!this.menuOpened 								&& this.menuContainer != null 								&&  this.menuContainer.size() != 0 ) {							this.menuOpened = true;							repaint();							return;						} else {							gameAction = Canvas.FIRE;						}					}				} else if (keyCode == FullCanvas.KEY_SOFTKEY2) {					if (!this.menuOpened && this.menuSingleRightCommand != null) {						callCommandListener( this.menuSingleRightCommand );						return;					}				}				//#endif				if (this.menuOpened) {					//#ifdef polish.api.nokia-ui					if (keyCode == FullCanvas.KEY_SOFTKEY2 ) {						this.menuOpened = false;					} else  					//#endif						if ( gameAction == Canvas.FIRE ) {						int focusedIndex = this.menuContainer.getFocusedIndex();						Command cmd = (Command) this.menuCommands.get( focusedIndex );						this.menuOpened = false;						callCommandListener( cmd );					} else { 						this.menuContainer.handleKeyPressed(keyCode, gameAction);					}					repaint();					return;				}			//#endif			boolean processed = handleKeyPressed(keyCode, gameAction);			//#ifdef polish.debug.debug				if (!processed) {					//#debug					Debug.debug("unable to handle key [" + keyCode + "].");				}			//#endif			if (processed) {				//#if polish.useFullScreen && polish.api.nokia-ui					requestRepaint();				//#else					repaint();				//#endif			}		//#if polish.debug.error		} catch (Exception e) {			//#debug error			Debug.debug("keyPressed() threw an exception", e );		}		//#endif	}