History

mac/input: fix switched mouse forward and back button

der richter committed 2 years ago

Commit 53722a41 parent db4eac11 file · +2 −2Browse files

Unified · Split

osdep/mac/input_helper.swift+2−2
@@ -203,8 +203,8 @@ class InputHelper: NSObject { · 202 unmodified lines
203 0: SWIFT_MBTN_LEFT,203 0: SWIFT_MBTN_LEFT,
204 1: SWIFT_MBTN_RIGHT,204 1: SWIFT_MBTN_RIGHT,
205 2: SWIFT_MBTN_MID,205 2: SWIFT_MBTN_MID,
206 3: SWIFT_MBTN_BACK,206 3: SWIFT_MBTN_FORWARD,
207 4: SWIFT_MBTN_FORWARD,207 4: SWIFT_MBTN_BACK,
208 ]208 ]
209 209
210 return Int32(buttonMapping[button] ?? SWIFT_MBTN9 + Int32(button - 5));210 return Int32(buttonMapping[button] ?? SWIFT_MBTN9 + Int32(button - 5));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t