I have an a demo in Matlab that I would like to send multiple touch events from (to the operating system) as if someone was touching the screen. I want to be able to supply 5 to 10 touch points and their coordinates.
How can this be done on a machine without a touch input hardware but with the touch drivers installed … ?
I have an a demo in Matlab that I would like to send multiple
Share
This seems to be somewhat more complicated than one might imagine.
Currently the best solution on Windows 7 uses MultiTouchVista and TUIO.
1) Download MultiTouchVista
2) Activate Pen and Touch
3) Run Multitouch.Service.Console.exe
4) Run Multitouch.Driver.Console.exe
5) Run Multitouch.Configuration.WPF.exe and choose TUIO
6) Download oscsend for sending OSC frames as required by TUIO.
Here is some sample code to send 5 touch points to the screen in a loop.
You might not see anything except for a moving mouse but the operating system is receiving the touches and if you open one of Microsoft’s Touch-Pack examples you can see the multiple touch points. Heres a screen shot from FruitNinja Lite