Skip to main content

RawButtonInputReport Class

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

The RawButtonInputReport class encapsulates the raw input provided from a keyboard.

public class RawButtonInputReport : InputReport

Constructors

RawButtonInputReport(PresentationSource inputSource, DateTime timestamp, HardwareButton button, RawButtonActions actions)

public RawButtonInputReport(PresentationSource inputSource, DateTime timestamp, HardwareButton button, RawButtonActions actions) : base(inputSource, timestamp)

Constructs an instance of the RawKeyboardInputReport class.

ParameterTypeDescription
inputSourcePresentationSourcesource of the input
timestampDateTimeThe time when the input occured.
buttonHardwareButton
actionsRawButtonActions

Fields

Button

public readonly HardwareButton Button

Read-only access to the button reported.

Actions

public readonly RawButtonActions Actions

Read-only access to the action reported.