Package com.leapmotion.leap

Examples of com.leapmotion.leap.ScreenTapGesture


          } catch (Exception e) {
            PApplet.println(e.getMessage() + " CALLBACK ERROR");
          }
          break;
        case TYPE_SCREEN_TAP:
          ScreenTapGesture screenTapGesture = new ScreenTapGesture(gesture);
          try {
            parent.getClass().getMethod(this.callbackMethodNameScreenTap, ScreenTapGesture.class)
                .invoke(parent, screenTapGesture);
          } catch (Exception e) {
            PApplet.println(e.getMessage() + " CALLBACK ERROR");
View Full Code Here


        SwipeGesture swipe = new SwipeGesture(gesture);
        System.out.println("Swipe id: " + swipe.id() + ", " + swipe.state() + ", position: "
            + swipe.position() + ", direction: " + swipe.direction() + ", speed: " + swipe.speed());
        break;
      case TYPE_SCREEN_TAP:
        ScreenTapGesture screenTap = new ScreenTapGesture(gesture);
        System.out.println("Screen Tap id: " + screenTap.id() + ", " + screenTap.state()
            + ", position: " + screenTap.position() + ", direction: " + screenTap.direction());
        break;
      case TYPE_KEY_TAP:
        KeyTapGesture keyTap = new KeyTapGesture(gesture);
        System.out.println("Key Tap id: " + keyTap.id() + ", " + keyTap.state() + ", position: "
            + keyTap.position() + ", direction: " + keyTap.direction());
View Full Code Here

TOP

Related Classes of com.leapmotion.leap.ScreenTapGesture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.