Project

General

Profile

Actions

Emulator Issues #12551

closed

Mouse buttons have different names on macOS and Windows

Added by kallekalle_ almost 3 years ago. Updated over 1 year ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

Left click is "Click0", right click is "Click1" and middle click is "Click2" on Windows.
On Mac, they're called "left/right/middle click".

This becomes a problem when transferring profiles/config-files between Mac and Windows and/or downloading profiles from the internet and having to change the binds because the profile originates from a Windows machine (or vice versa).

The problem might apply to different keystrokes as well, I haven't had the time to confirm.

What steps will reproduce the problem?

Binding an action to a mouse button on Mac and Windows ¯_(ツ)_/¯

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-14332

Is the issue present in the latest stable version?

Yes

What are your PC specifications? (CPU, GPU, Operating System, more)

macOS 11.3.1 and Windows 10 Pro 19042.985


Files

Dolphin_DUtq38pDdZ.png (6.73 KB) Dolphin_DUtq38pDdZ.png Windows kallekalle_, 06/13/2021 10:55 PM
CleanShot 2021-06-14 at 00.50.09@2x.png (94.6 KB) CleanShot 2021-06-14 at 00.50.09@2x.png macOS kallekalle_, 06/13/2021 10:55 PM
Actions #1

Updated by Techjar almost 3 years ago

Yeah, that's just how it is because the different APIs use different names. Trying to standardize button names across disparate platform APIs is quite a slippery slope.

Actions #2

Updated by filoppi almost 3 years ago

Techjar, they could at least have an equivalent/compatible name. Controls names in the dolphin input system can have equivalent names which are accepted in their place, redirecting them.
But that would be quite a lot of work to implement and would need to make assumptions on names by other platforms and hardcode them in the code, which yeah, is not great.
The user in this case could just write a profile that has an or between the Win and Mac version: "Click0 + left click".

Actions #3

Updated by JMC4789 over 1 year ago

  • Status changed from New to Won't fix

We simply list the API names. There seems to be no interest in changing this. Pull Requests accepted if someone does want to tackle this.

Actions

Also available in: Atom PDF