Friday, May 21, 2010, 06:54 PM
After I finally got around to installing Visual Studio on my new development machine I could again work on some of the native code parts used in MT4j like the Windows 7 multi-touch support. One of the objectives was to compile it for 64-bit mode.As a result, there is now a 64-bit version of the native library available in the latest . The appropriate version will load automatically depending on the running JVM (32/64 bit mode).
As I dont have a Windows 7 compatible multi-touch screen to test, I relied on a simulator for testing purposes. So if you have such a screen and system - I would very much appreciate some feedback!
For more information about running MT4j using a 64-bit JVM take a look at in the .
Another implemented feature is the ability to get the contact size of the touches from Windows 7 in pixels. You can query this information from the the newly introduced MTWin7TouchInputEvt input event class by using the getContactSizeX/Y() methods. This allows for some interesting features. One obvious scenario which comes to mind is to use this information in a drawing application to set the stroke width.
Have fun!
Chris
currently MT4j supports TUIO, mouse, keyboard and Windows 7 Touch input. All of them can be used simultaneously. So to use a touch device it either has to output TUIO protocol or Windows 7 touch messages. As you already said, Tuio is mostly used for vision based devices. Almost all retail multi-touch devices which you can buy now support the Windows 7 touch api (except IPhone/IPad) and thus are supported. They mostly rely on capacitive touch technology.