MonoBrick EV3 Firmware
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
MonoBrickFirmware.UserInput.Buttons Class Reference

Public Types

enum  ButtonStates {
  None = 0x00, Up = 0x01, Enter = 0x02, Down = 0x04,
  Right = 0x08, Left = 0x10, Escape = 0x20, All = 0xff
}
 

Public Member Functions

ButtonStates GetStates ()
 
void WaitForKeyRelease (CancellationToken token)
 
void WaitForKeyRelease ()
 
ButtonStates GetKeypress (CancellationToken token)
 
ButtonStates GetKeypress ()
 
void LedPattern (int pattern)
 

Public Attributes

const int ButtonCount = 6
 

Properties

static Buttons Instance [get]
 

The documentation for this class was generated from the following file: