Exemplo n.º 1
0
 /// <summary>Get a digital input value</summary>
 /// <param name="value">The input value, if any; Otherwise, the type's default value.</param>
 /// <returns>True if the input has a value; otherwise, false.</returns>
 protected override bool TryGetInputValue(IInputSource source, out bool value)
 {
     return(source.TryGetButtonInput(this.InputName, out value));
 }