public int getGameAction(int keyCode){
    		Integer ga = ((Integer) gameActions.get(new Integer(keyCode)));
    		if (ga != null){
    		   return ga.intValue(); 
    		}  
     
         switch(keyCode){
         case DEFAULT_KEYCODE_UP: return Canvas.UP;
         case DEFAULT_KEYCODE_DOWN: return Canvas.DOWN;
         case DEFAULT_KEYCODE_LEFT: return Canvas.LEFT;
         case DEFAULT_KEYCODE_RIGHT: return Canvas.RIGHT;
         case DEFAULT_KEYCODE_SELECT: return Canvas.FIRE;
         default:
             return keyCode;
         }
            
    }