Native Windows implementation of the Touch interface.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities UpdateBehavior
DeltaEngine.Input InputDevice
DeltaEngine.Input Touch
DeltaEngine.Input.Windows WindowsTouch
Namespace: DeltaEngine.Input.Windows
Assembly: DeltaEngine.Input.Windows (in DeltaEngine.Input.Windows.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The WindowsTouch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WindowsTouch | Initializes a new instance of the WindowsTouch class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the WindowsTouch (Overrides InputDevice Dispose .) | |
GetPosition | (Overrides Touch GetPosition(Int32).) | |
GetState | (Overrides Touch GetState(Int32).) | |
Update | (Overrides Touch Update(IEnumerable Entity ).) |
Properties
Name | Description | |
---|---|---|
IsAvailable | (Overrides InputDevice IsAvailable.) |
Remarks
Examples
[Test, CloseAfterFirstFrame] public void UpdateTouch() { var dragTrigger = new TouchDragTrigger(); var positionTrigger = new TouchPositionTrigger(); touch.Update(new Trigger[] { dragTrigger, positionTrigger });
See Also