WmTouchDevice contains a basic implementation of WPF's TouchDevice class based on the data received in WM_TOUCH window messages rather than the Tablet PC API.
This is primarily intended to work around the WPF Touch Event Fires with Delay bug in WPF, particularly severe with multi-touch. However, this libary can be useful to enable other functions that require WM_TOUCH such as App-style focus tracking in Windows 8.
More information on this issue and solution is posted here.
- Call MessageTouchDevice.RegisterTouchWindow(IntPtr hWnd) during or after your Window's SourceInitialized event
- Call MessageTouchDevice.WndProc from a function you attach to your Window using HwndSource.AddHook
If you wish to contact me directly please use twitter https://twitter.com/jaytwotwit.
I am open to pull requests, so you're very welcome to create them.
I haven't had time to add a sample project yet, but would like one.