We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like replace mousepressed function in Processing with leap motion gesture but are not sure how to achieve that. Btw, I'm using this library: https://github.com/nok/leap-motion-processing
Do you use it in your VR or as pointer in your hand...?
What is it exactly?
Is it in 3D or 2D?
As pointer in my hand. It's 2D.
Have you looked at the examples, specifically screen tap gesture and key tap gesture?
Do you want a click or a press?
Glad it was helpful. If you have further questions or want to share code about a specific Leap gesture problem, follow up here!
When I use the SwipeGesture function on Leap Motion, a single motion of the hand could create more that 5 swipe gestures. I believe that it's because Leap Motion detects fingers instead of hand. I tried to reduce the motion detection by making the function only detects index finger. However, occasionally, the function still detects 2 swipe gestures. Is there anyway to make the function only detects 1 swipe gesture in a single swipe?