1 namespace OpenBveApi.Interface 2 { 3 /// <summary>The possible states of a digital control (button)</summary> 4 public enum DigitalControlState 5 { 6 /// <summary>The button has been released, but the simulation has not yet updated to reflect this</summary> 7 ReleasedAcknowledged = 0, 8 /// <summary>The button is released</summary> 9 Released = 1, 10 /// <summary> 11 /// The button is pressed 12 /// </summary> 13 Pressed = 2, 14 /// <summary>The button has been pressed, but the simulation has not yet updated to reflect this</summary> 15 PressedAcknowledged = 3 16 } 17 } 18