libretro / libretro/RetroArch

MacOS: setting controller driver to hid inverts axis 1

Open
#15,024 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: osx
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
  1. Launch RetroArch and change the controller driver to hid, save configuration, close RetroArch
  2. Launch RetroArch and use left analog for up and down -> it's inverted
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.