Skip to main content

ButtonState Enum

Namespace: GHIElectronics.TinyCLR.UI.Input · Assembly: GHIElectronics.TinyCLR.UI

The ButtonState enumeration describes the state that buttons can be in.

public enum ButtonState : byte

Fields

NameValueDescription
None0No state (same as up).
Down1The button is down.
Held2The button is held