Native hook on the windows messaging pipeline to grab touch input data.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Input.Windows WindowsHook
DeltaEngine.Input.Windows TouchHook
Namespace: DeltaEngine.Input.Windows
Assembly: DeltaEngine.Input.Windows (in DeltaEngine.Input.Windows.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The TouchHook type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | TouchHook | Initializes a new instance of the TouchHook class |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the TouchHook (Overrides WindowsHook Dispose .) |
Fields
Name | Description | |
---|---|---|
![]() | messageAction | (Inherited from WindowsHook.) |
Remarks
Examples
[Test] public void GetTouchDataFromHandleWithInvalidHandle() { Assert.IsEmpty(hook.nativeTouches); var nativeTouches = TouchHook.GetTouchDataFromHandle(1, IntPtr.Zero); Assert.Null(nativeTouches); }
See Also