Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

How do I assign Leap Motion gestures to functions on Javascript?

$
0
0
I have been searching for a while for javascripts related to Leap Motion. Most of what I have found were fragments. My whole project is in java and I do not want to change. Starting with the basic: #pragma strict var controller = new Leap.Controller(); function Start(){ controller.EnableGesture(Gesture.GestureType.TYPE_SCREEN_TAP); } It gives an error that Gesture is an unknown identifier. I could use help with how to assign these gestures to functions too. Thanks

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>