Is there a way to detect, through browser Javascript, multi-touch events of a trackpad, magic mouse or magic trackpad on a Mac?
Asked Answered
S

1

8

I know there are many ways to do so directly on the iPhone (jQtouch), but I'd like to detect those events in my computer's browser.

Systole answered 30/9, 2010 at 14:39 Comment(1)
Would hammer.js help?Boyceboycey
P
1

Mozilla has some support for mouse gestures: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Mouse_gesture_events

Looks like chrome and safari don't have native support for the same : JQuery - Can I query the MacBook Pro Trackpad?

Punch answered 16/10, 2015 at 6:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.