WindowsTouch ClassDelta Engine Documentation
Native Windows implementation of the Touch interface. View code on GitHub
Inheritance Hierarchy

System Object
  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

public sealed class WindowsTouch : Touch

The WindowsTouch type exposes the following members.

Constructors

  NameDescription
Public methodWindowsTouch
Initializes a new instance of the WindowsTouch class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the WindowsTouch
(Overrides InputDevice Dispose .)
Public methodGetPosition (Overrides Touch GetPosition(Int32).)
Public methodGetState (Overrides Touch GetState(Int32).)
Public methodUpdate (Overrides Touch Update(IEnumerable Entity ).)
Top
Properties

  NameDescription
Public propertyIsAvailable (Overrides InputDevice IsAvailable.)
Top
Remarks

Tests: DeltaEngine.Input.Windows.Tests.WindowsTouchTests
Examples

1 unit tests call DeltaEngine.Input.Windows.WindowsTouch
[Test, CloseAfterFirstFrame]
public void UpdateTouch()
{
    var dragTrigger = new TouchDragTrigger();
    var positionTrigger = new TouchPositionTrigger();
    touch.Update(new Trigger[] { dragTrigger, positionTrigger });
See Also