The mechanics right now for clicking are pretty finicky. If you tap your finger down, it will register a click: case Gesture.Type.TYPE_KEY_TAP => val keyTap = new KeyTapGesture(gesture) clickMouse
Of course, taping your finger invariably moves your hand, so this is not very accurate. My leap device 'died' shortly after posting this code (they're still in beta). When I get a new one I'll experiment with better clicking mechanics.
How do you click?
ReplyDeleteThe mechanics right now for clicking are pretty finicky. If you tap your finger down, it will register a click:
Deletecase Gesture.Type.TYPE_KEY_TAP =>
val keyTap = new KeyTapGesture(gesture)
clickMouse
Of course, taping your finger invariably moves your hand, so this is not very accurate. My leap device 'died' shortly after posting this code (they're still in beta). When I get a new one I'll experiment with better clicking mechanics.