MacOS: setting controller driver to hid inverts axis 1
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
In MacOS, when the controller driver is set to hid instead of mfi, the analog axis 1 (left up/down) inverts, up goes down and down goes up. Only the rgui is effected, but not the cores. Switching bindings as a workaround does not work.
Tested with 2 PS4 controller versions and 1 XBox Wireless controller in several nightly builds (and yesterday's).
It is not of any priority (it seems), as mfi drivers just work.
Steps to reproduce the bug
- Launch RetroArch and change the controller driver to hid, save configuration, close RetroArch
- Launch RetroArch and use left analog for up and down -> it's inverted
- Change driver back to mfi, save settings, close and restart RetroArch -> all back to normal.
- RetroArch: Several nightly builds, including yesterday's.
Environment information
- OS: MacOS Ventura
- Compiler: n/a, official nightly build
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in RetroArch on macOS with the HID controller driver, using the left analog axis in rgui and comparing it with the MFi driver. Trace the HID controller input path and rgui axis handling; done means axis 1 moves up and down normally without changing bindings, while core behavior remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100