public InputListener keyRotateListener(String id)
	{
		if (id.equals("analog"))
    		return new AnalogListener()
    		{
    			@Override
    			public void onAnalog(String name, float value, float tpf)
    			{
    				if (name.equals(MAP_ROTATE))
    					rotateBoardCam(value * (isShiftPressed ? -1 : 1));
    			}
    		};
    	else
    	// press F-key to flip the whole scene
    	// Shift-F to flip counterclockwise
    		return new ActionListener()
			{
				@Override
				public void onAction(String name, boolean isPressed, float tpf)
				{
					if (isPressed)
					if (name.equals(MAP_FLIP))
						stateManager.attach(new FlipBoardState());
				}
			};
	}