Package com.leapmotion.leap

Examples of com.leapmotion.leap.KeyTapGesture


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


        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());
        break;
      default:
        System.out.println("Unknown gesture type.");
        break;
    }
View Full Code Here

TOP

Related Classes of com.leapmotion.leap.KeyTapGesture

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.