Extending 64-Bit Support 
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!
Thursday, June 10, 2010, 04:57 PM
Hi Sebastioan,

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.

Thursday, June 10, 2010, 04:33 PM
Hello Chris,

I got a question: Is any specific Touch device needed for MT4j or does it work with any of them? Lots of those frameworks that support TUIO, only work with vision-based optical touch technology (FTIR, DI) etc).

Looking forward to read your answer.

Tuesday, June 8, 2010, 12:31 PM
thanks for the update. It works great now.
Tuesday, June 8, 2010, 07:46 AM
Thanks for the static linking. I'll try it out and let you know how it works.
Tuesday, June 1, 2010, 12:06 PM
Ah, yes the redistributable stuff..I now re-compiled the DLL files so that they statically link to the runtime DLLs. Please download the latest version from the SVN and test if it works without the redistributables installed.
Tuesday, June 1, 2010, 09:12 AM / //
With this update, the 32-bit version of the Win7Touch.dll requires VC++2010 runtime environments. Previously these libraries were not needed. Is there any way to bypass this?
Friday, May 28, 2010, 11:09 PM
: Mt4j works on Mac OSX, it is just not tested with it, to make that clear. What multi-touch device do you have? In not aware of any Mac OS specific multi-touch hardware except the multi-touch trackpad. Are you talking about the trackpad?
There is a java bridge available here which can get the events from the mac multitouch trackpad:
Would be great it somebody could create a MT4j InputSource with that code as I dont own a mac.
And yes, your puzzle application would make for a nice multi-touch application.

Oleksandr Shevchenko 
Friday, May 28, 2010, 02:55 PM / olesoft.us
Outstanding project: I like it.

But I am waiting for this tool for Mac OSX.
I am using Java, Jogl, OpenGL for Windows,
Linux and MacBook Pro. I have multitouch
device for Mac only and cannot enjoy now
with my applications.

And I want to make contribution if you need.
I saw a lot of your wideo on YouTube.
Could you take a look on my presentation:

I think it will be great on multitouch device.

Thanks again,



Add Comment

Fill out the form below to add your own comments.