Emulator Issues #12551
closedMouse buttons have different names on macOS and Windows
0%
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
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.
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".
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.