From 53722a408254cb99fc7bcc7c729cc0c5044c2ebb Mon Sep 17 00:00:00 2001 From: der richter Date: Thu, 14 Mar 2024 00:23:14 +0100 Subject: mac/input: fix switched mouse forward and back button --- osdep/mac/input_helper.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osdep/mac') diff --git a/osdep/mac/input_helper.swift b/osdep/mac/input_helper.swift index fdab411deb..7b954db2ba 100644 --- a/osdep/mac/input_helper.swift +++ b/osdep/mac/input_helper.swift @@ -203,8 +203,8 @@ class InputHelper: NSObject { 0: SWIFT_MBTN_LEFT, 1: SWIFT_MBTN_RIGHT, 2: SWIFT_MBTN_MID, - 3: SWIFT_MBTN_BACK, - 4: SWIFT_MBTN_FORWARD, + 3: SWIFT_MBTN_FORWARD, + 4: SWIFT_MBTN_BACK, ] return Int32(buttonMapping[button] ?? SWIFT_MBTN9 + Int32(button - 5)); -- cgit v1.2.3