Skip to main content

InputDevice Class

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

Provides the base class for all input devices.

public abstract class InputDevice : DispatcherObject

Constructors

InputDevice()

protected InputDevice()

Constructs an instance of the InputDevice class.

Properties

Target

public abstract UIElement Target { get; }

Returns the element that input from this device is sent to.

DeviceType

public abstract InputManager.InputDeviceType DeviceType { get; }

The input device type for this device.