- Home /
Question by
ramymaher · Nov 09, 2015 at 01:07 PM ·
javascriptcontroller
How do I assign Leap Motion gestures to functions on Javascript?
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
Comment
Your answer

Follow this Question
Related Questions
Setting Scroll View Width GUILayout 1 Answer
Character Controller moves forever after colliding with object 1 Answer
Using Controller Triggers in input 1 Answer
Xbox 360 Controller on macbook pro problem 0 Answers
Touch Control Android Java 0 Answers