Skip to content
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

Two Finger Swipe #34

Closed
Snugug opened this issue Jun 7, 2012 · 6 comments
Closed

Two Finger Swipe #34

Snugug opened this issue Jun 7, 2012 · 6 comments

Comments

@Snugug
Copy link

Snugug commented Jun 7, 2012

I'm curious, does Hammer supports two finger swipe events, and if not, can it? Two finger swipe left/right/up/down

@Aratramba
Copy link
Contributor

yep, should work with 2 fingers.

@Snugug
Copy link
Author

Snugug commented Jun 11, 2012

Do you have a piece of sample code for how that would work? Everything used just says swipe, but nothing about two finger swipe (I assume all the swipes are one finger, and the demo page didn't seem to work with two finger)

On Jun 11, 2012, at 3:34 AM, Arjenreply@reply.github.com wrote:

yep, should work with 2 fingers.


Reply to this email directly or view it on GitHub:
#34 (comment)

@Aratramba
Copy link
Contributor

ah, I guess I misunderstood. A swipe will work with 2 fingers, but will not return another type of event. I guess the only way is to catch a swipe and then check the number of touches used. Will that work for you?

@visiongeist
Copy link
Contributor

The touchend uses a different property for the touches. You can see my changes in the pull request.

@Snugug
Copy link
Author

Snugug commented Jun 11, 2012

Very possibly, I'll mess around and take a look

@matteosistisette
Copy link

A swipe will work with 2 fingers

No it doesn't

squadette pushed a commit to squadette/hammer.js that referenced this issue Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants