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.
According to this answer, Magic Track Pads can be paired with multiple devices, just not, as you stated, at the same time. As long as the track pad is not connected with another device, it will be pairable with an additional one.
Yes, you can use Magic Mouse and Magic Trackpad at the same time! Both devices establish contact with the Apple computer via Bluetooth and are no obstacles to each other.
Tap-to-click is not natively an option for this device, so I now use BetterTouchTool to achieve this. With this utility, I essentially expand the gesture options for the Magic Mouse 2 (not to mention a plethora of other Apple peripherals) to map a single left and single right tap to left and right clicks, respectively.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With