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?
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/
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 - , , .
JavaFX 2.2+ perfectly supports multitouch for win7
Source: https://habr.com/ru/post/1780371/More articles:How to get a link to an instance of an object from a dynamically created class - reflectionBlackberry simulator with DNS exception - javaWhat event should be used to update the model from TextBox (LostFocus, LostKeyboardFocus, etc.) in WPF? How to set event priority in WPF? - eventsC # MySQL database recovery - c #Closing Javascript in firebug - javascriptКак заменить источник конфигурации .NET во время выполнения - .netHow to transfer a new MySQL database structure from a developer site to a production site using the command line? - unixМатрица смещения в октавах - matrixPHP crypt function on different OS - phpstd:: stringstream как параметр для функции - c++All Articles