Multi-touch Java on Linux

I need to add support for multi-touch gestures in my Java application that is deploying on Linux. I found http://lii-enac.fr/en/architecture/linux-input/multitouch-howto.html which appears to be a good approach for hardware to work. (Although I haven't started making a kernel patch yet ...)

The next question will be how to get gestures into my java code. I found Mt4J, but this project seems to do tons and tons of things other than just simple multi-touch gestures. Thanks a lot, I already have an OpenGL based rendering engine! :)

It seems odd to me that JSR does not have a way to include these multitouch events in the AWT event handling framework.

I really don't need anything to interpret the gestures for me. I just want to know when there are multiple inputs at the same time, so I can act on them.

Suggestions?

+3


source to share


1 answer


I created an API specifically for this. It's not fully completed yet, but it works well enough. It's available at: https://github.com/shahbaz-man/libjam-mt Check out README.md

the setup instructions .



0


source







All Articles