Is there a way to use Windows 7 multi-touch with Java?

I know MT4j and Windows 7 Multitouch Interop Library , but none of them seem to be what I'm looking for: MT4j code is pretty terrible and poorly documented, and Win7 library seems to be a .NET assembly (and therefore cannot be used originally Java). Is there anyway the ability to receive WM_TOUCH messages in Java? Or can you actually use the Win 7 interaction library from Java?

+3
source share
3 answers

Sorry, but you can’t. There is only a kind of workaround ...

Touch2TUIO is an open source command-line tool that can connect native Windows 7 touch / forward messages to the TUIO protocol (so you can use them in Java or any other language). Still in development, but on most hardware that can already be used (and open source - so everyone can freely make changes / improvements to it). This is not exactly what you are looking for, but perhaps the only solution now ...

Touch2TUIO: http://dm.tzi.de/research/hci/touch2tuio/

+1
source

What do you mean by pretty awful code and not well documented? I built a huge MT4J application and used the latest MT4J APIs and had no problems with it.

, / API . , -. Java - , , .

+1

JavaFX 2.2+ perfectly supports multitouch for win7

+1
source

Source: https://habr.com/ru/post/1780371/


All Articles