zeroin23
zeroin23

Reputation: 1821

multi touch events to mouse events for java application

I have a rich complex Java Swing Application. I would like the multi touch events to be converted into Mouse events for the Swing Applications.

Is there a way to do it without changing significantly the existing Java Application ?

Upvotes: 0

Views: 716

Answers (1)

DVA
DVA

Reputation: 331

When I did something that sounds similar to what you're asking, I ended up using the java.awt.Robot class to create mouse clicks according to the touch notifications. I was not using mt4j, though, but rather a proprietary multitouch screen's API that wasn't especially mature.

Upvotes: 1

Related Questions