ButtonState Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies the state of a button's input.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration ButtonState
[FlagsAttribute]
public enum ButtonState
[FlagsAttribute]
public enum class ButtonState
[<FlagsAttribute>]
type ButtonState
public enum ButtonState
Members
Member name | Description | |
---|---|---|
None | No input. The button is not currently being pressed. | |
Down | A value specifying that the input is currently in the down state. The button is being pressed. | |
Held | A value specifying that the input is currently in the held state. The button is being held down. |