Fix T52984. Trackpad rotation to natural direction

This commit is contained in:
Arto Kitula 2017-10-26 23:11:25 +03:00
parent 03a582ceeb
commit 1effab7809
Notes: blender-bot 2023-02-14 06:30:06 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #52984, 2.79 macOS Gesture Inversion
1 changed files with 1 additions and 1 deletions

View File

@ -1470,7 +1470,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
GHOST_TInt32 x, y;
window->clientToScreenIntern(mousePos.x, mousePos.y, x, y);
pushEvent(new GHOST_EventTrackpad([event timestamp] * 1000, window, GHOST_kTrackpadEventRotate, x, y,
[event rotation] * 5.0, 0));
[event rotation] * -5.0, 0));
}
default:
return GHOST_kFailure;