3 ms·
I would have thought it would be a touch event, but it's actually a normal scroll event. The only difference I can see is that it has the ctrl bit flipped. Her
by dwwoelfel 11y ago
I would have thought it would be a touch event, but it's actually a normal scroll event. The only difference I can see is that it has the ctrl bit flipped.
Here's the stackoverflow answer: http://stackoverflow.com/questions/15416851/catching-mac-trackpad-zoom http://stackoverflow.com/questions/15416851/catching-mac-tra...
- TheLoneWolfling 11y agoProbably for interoperability for applications that use "standard" ctrl-scroll for zoom. It's a relatively common shortcut.
- moron4hire 11y agoI understand that, but do any of the touch events fire in parallel? Like, just before the pinch happens, is there not a touch start even for when the fingers touch the screen? The idea is to change the rate of the normal scroll event only if there are fingers on the screen.
- dwwoelfel 11y agoI don't think there are any touch events at all when you're using a trackpad on a mac. For mobile, we can distinguish by the touch events.
- moron4hire 11y agoOh, yes, I'm sorry. I completely spaced on what you were saying.