I have the same issue on my Hanns-G touchscreen RPI2, which works fine in X but not in a JavaFX application.
As you said, I tried using a monocle instead of a lens. This in itself is quite clogging. There are no ready-made and ready-made Monocle-Jars on the Internet. The only thing I find is the "headless" version, which works on my PI:
http://mvnrepository.com/artifact/org.jfxtras/openjfx-monocle/1.8.0_20
While starting my JavaFX application with this monocle:
java -Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw -jar myJar.jar
I am triggering and not creating these distorted multitouch events anymore. Disadvantage: the graphical interface is not displayed because it is "headless". Not so funny ...
Monocle also works with headless mode (with the launch of the GUI). But it seems that you need to build it yourself, as described here:
https://wiki.openjdk.java.net/display/OpenJFX/Monocle
Here my luck ceased. I have too few linux skills to build on my own. I started generosity, so hopefully an experienced person will help us ... Good luck! I also have a friend who has the same setup as me, and he claims to have touch access to JavaFX applications. He will show me soon. I'll keep you posted.
Sauer source share