@Override
	public void valueUpdated(Setting s, Value v) {
		if (s.getName().equals(Trigger)) {
			try {
				boolean b = v.getBoolean();
				if (trigger_ == null && b) {
					trigger_ = addInput(Trigger, ValueType.VOID);
					trigger_.addListener(this);
				} else if (trigger_ != null && !b) {
					trigger_.removeListener(this);
					removeInput(trigger_);
					trigger_ = null;
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		super.valueUpdated(s, v);
	}