开发者

How to Develop WPF Multi-Touch Application without a Touch Screen?

开发者 https://www.devze.com 2023-01-02 17:14 出处:网络
I开发者_如何学Go\'m tasked with creating a multi-touch application but I don\'t have a multitouch screen or device and ours don\'t arrive for a month (Grr!)

I开发者_如何学Go'm tasked with creating a multi-touch application but I don't have a multitouch screen or device and ours don't arrive for a month (Grr!)

Is there some kind of emulation or cheap USB device that we can get that will work with WPF in .NET 4 for the interim?


if your are using windows 8 just you need to use Microsoft Windows Simulator Touch Emulation , it simulate all touch event within mouse , just run in C:\Program Files\Common Files\microsoft shared\Windows Simulator\11.0\Microsoft.Windows.Simulator.exe and for X86 OS -> C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Simulator\12.0\Microsoft.Windows.Simulator.exe

Edit : for Visual Stuido 2017 Check This Address : C:\Program Files (x86)\Common Files\microsoft shared\Windows Simulator\15.0\Microsoft.Windows.Simulator.exe


Its probably a bit late now but for anyone else use Multitouch Vista to enable emulating a Windows 7 touch device and in turn it will work with WPF4 (Using multiple USB mice is the easiest and reliable way). Make sure to follow the youtube video on the main page to how to set up etc.


There are some small usb touch devices (like the Mimo iMo) but I'm not aware of any that have multitouch support beyond trackpad type gestures. As far as software emulation, the Surface SDK includes a very good simulator but the touch APIs for Surface, while in WPF, are a bit different from .NET 4. It may allow you to prove out and test your multitouch scenarios and then transplant that code into your full WPF application. Get the Surface Toolkit for Windows Touch too to give you a head start.

0

精彩评论

暂无评论...
验证码 换一张
取 消