LeapMotionのSwipeのパラメータを調整する
LeapMotionのSDKがこっそりv1.0.8になっていますね。
Leap::SwipeGestureでもっと遅いスワイプでも検出したい!またはその逆
などをしたいときには、↓のようにすればOK。
controller.config().setFloat("Gesture.Swipe.MinLength", 200.0);
controller.config().setFloat("Gesture.Swipe.MinVelocity", 750);
デフォルトの値は150mm以上動かす、1000mm/s以上の速度で。というのが設定されているそうです。
https://developer.leapmotion.com/documentation/Languages/C++/API/class_leap_1_1_swipe_gesture.html