From 1effab780951ead28c94f4a12ee6ddd04efdcfc1 Mon Sep 17 00:00:00 2001 From: Arto Kitula Date: Thu, 26 Oct 2017 23:11:25 +0300 Subject: Fix T52984. Trackpad rotation to natural direction --- intern/ghost/intern/GHOST_SystemCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 42ccfb06fd9..b4fb788bca9 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -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; -- cgit v1.2.3