Any short/easy path to handling a pinch gesture (zoom in/zoom out)?
Java mode, Processing 3.3.7, running on a Windows 10 laptop with a touch screen.
Tried:
-
Rolling my own. But mousePressed/Dragged/Released doesn’t get called on pinch (only on single mouse down/drag/release).
-
Register TouchEvent (compiles, but never calls touchEvent()):
void setup() {
registerMethod(“touchEvent”, this);
}
void draw() { }
public void touchEvent(TouchEvent event) {
println(“hello?”);
} -
SMT Simple Multi-Touch examples choke on init() (PApplet$7 can’t be cast to a JFrame).
-
Leap Motion Library: LM_2_Gestures example runs, but never calls handlers for swipe/circle/tap.
Thanks for any help!