Uses [event hasPreciseScrollingDeltas] instead of beginGestureWithEvent / endGestureWithEvent to detect multitouch, since those stopped working in the 10.11 SDK. Tested with macbook trackpad, magic mouse and regular mouse with scrollwheel.
Details
Details
- Reviewers
- None
- Group Reviewers
Platform: macOS - Maniphest Tasks
- T45167: Holding Ctrl right after trackpad scrolling makes unwanted zoom (OSX)
T46341: OS X trackpad and magic mouse gestures not working - Commits
- rBS240f356166e7: Fix T45167: OS X inertial scrolling can lead to unexpected zooming.
rBSa8dd0af8cf79: Fix T46341: OS X trackpad and magic mouse gestures not working with 10.11 SDK.
rB240f356166e7: Fix T45167: OS X inertial scrolling can lead to unexpected zooming.
rBa8dd0af8cf79: Fix T46341: OS X trackpad and magic mouse gestures not working with 10.11 SDK.
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
@Brecht Van Lommel (brecht) could we incorporate the GHOST_kTrackpadEventUntouch event in this commit? It is something I implemented in D897 but that relies on NSEventTypeEndGesture.
Comment Actions
I'm not sure why it would need to be included in this commit, best to do it separately I think.
Since NSEventTypeEndGesture doesn't work, checking if [event momentumPhase] == NSTouchPhaseEnded might.
Comment Actions
you're right. I guess I was just looking for a replacement in the new API. I will try that after this patch gets merged.