Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.57 KB

README.md

File metadata and controls

32 lines (24 loc) · 2.57 KB

MT4j - Multitouch for Java

This is an updated version of the original MT4j based on the last official release v0.98. The biggest difference is that it now works with Processing 2.x and hence, JOGL 2 (based on the work of the UltraCom project, thanks for that!). We share this here so that anyone facing the same problem can make use of it.

The following is the list of changes, which the commit history should easily reflect as well:

  • updated the included log4j to the latest version (v1.2.17)
  • added a build file
  • TUIO libs updated to newer versions
  • added PositionAnchor literal UPPER_RIGHT to MTRectangle
  • added italic font (Arial)
  • some logging was turned off
  • some bug fixes to avoid memory leaks
  • fixed InputCursor to never remove the first event (to be able to retrieve the real starting point)
  • added StateChange literal TRANSLATED, which is fired by MTComponent on translate and propagated to all children (which do the same)
  • added StateChange literal RESIZED, which is not used within MT4j right now
  • merged mt4j-desktop and mt4j-core for easier maintenance (the dependencies were strange anyway)
  • updated to Processing 2.2.1 and JOGL 2.1.5 (included in the Processing release)

More Information

Why?

We are working on the TouchCORE (formerly TouchRAM) project in the Software Engineering Laboratory at McGill University. When we started developing our application, MT4j v0.98 was freshly released. Unfortunately, it was never updated since, which lead us to making some adjustments our own (besides extending some of MT4j's components in our project). We always had the problem of running it with Java 7 and higher on OSX, because of JOGL 1.x only working with the JRE provided by Apple. We worked with this constraint for a long time, but finally made the switch due to other constraints, thanks to some helpful pointers we found in the UltraCom project (which unfortunately has many more modifications to MT4j).

Because there are probably more people out there facing the same problem, we are sharing this updated version. Hope it helps! :)