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.
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
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?
© 2022 - 2024 — McMap. All rights reserved.