New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespacing two-hand support #14
Comments
I've thought about this many times. Also you are able to get the event <ANY leap-swipe-left="fn($gesture)"></ANY> $scope.fn = function($gesture){
... // do some checks for hands, speed, so on
} Another idea: It would be cool to provide some generic listener concept/directive. <ANY leap-react-with="fn() on ( gesture.swipe.left && event.hands == 2 )></ANY>
Just an idea ... I'm not really in with it, just want to share that with you. |
@robinboehm I think we should start a hangout and discuss such things. |
Hello guys, Basic functionality for it should contain six use cases: Move the map to:
Zoom: Later on, it would be nice to have a pointing gesture, so that the user can set starting and ending location in order to get directions. As said before, I would definitely spend some time on this. |
@simalexan Wouldn't it be better to say a user can zoom in/out with a natural pinch/zoom? We can recognize fingers as well :) This would also be a very good place for a reusable directive. |
You are right, I completely forgot about that. I couldn't agree more. :) |
@simalexan 👍 yupp |
+1 |
I dunno how this would work yet, but when taking a look at the currently supported directives, they only support generic gestures which aren't capable of for example two-hand motions right?
I wonder if we should introduce directives for some two-handed action and if so, should we introduce a proper namespace for this? So something like:
This would be a cool thing if you just want to get something with two hand support down the road. However, the leap controller is also capable of tracking more then two hands. So maybe we should also find a way to react on some kind of gesture with some amount of hands.
Any thoughts @robinboehm ?
The text was updated successfully, but these errors were encountered: