1

Is there any event listener for touchpad in java? I am designing an application which counts the number of taps entered by the user using a laptop's touchpad.

Abhishek Anand
  • 247
  • 2
  • 10
  • Does this help? http://stackoverflow.com/questions/11623777/how-to-implement-a-java-swing-application-to-touch-screen – Daniel Kaplan Oct 25 '13 at 20:55
  • 2
    Are these not mapped to mouse clicks? You can get events for each click, or double/triple/quadruple clicks. – Peter Lawrey Oct 25 '13 at 20:57
  • MouseListener registers the event if I tap with one finger but if I am tapping a rythm with two fingers, it fails to register the touch event. – Abhishek Anand Oct 25 '13 at 21:10

1 Answers1

0

Try using TUIO. There are a number of Java implementations out there.

Nathaniel Jones
  • 1,829
  • 3
  • 29
  • 27