public double Get(XInputTypes type) { if (inputDevice != null) { return(Value); } return(type.GetDisableValue()); }
public WebXOutputSource(string name, XInputTypes type) : base(null, name, type.GetInputSourceType(), 0) { inputType = type; newValue = type.GetDisableValue(); }