libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.41k stars 1.84k forks source link

Retroflag USB Controller not working on RA for Mac OS Metal #15826

Open cidus opened 1 year ago

cidus commented 1 year ago

Description

Retroflag USB controller (DInput mode) do not work on RA for Mac while it works with Steam and Enjoyable.

Expected behavior

Controllers should work automatically, or at least be configurable

Actual behavior

The controller is detected and listed, but no input goes through. using mFi driver Changing driver to hdi and restarting RA, some input is detected but it's messed up (Up is down, Down is Up, only some buttons work, remapping does not work)

Steps to reproduce the bug

  1. Plug the controller to usb holding Y to enable Dinput mode
  2. Check that it is detected by Mac OS in the controller settings screen
  3. Test using Steam, it works
  4. Launch RA, controller is listed but it does not work, nor inputs can be configured (no presses are detected)

Bisect Results

This is my first try with these, idk if they worked before.

Version/Commit

You can find this information under Information/System Information

Environment information

cidus commented 1 year ago

They are also not working with EmulationStation-DesktopEdition, maybe that helps?

On Windows they work on both RA and ES-DE, they are detected as iBuffalo Classic SNES USB Gamepad (BSGP801)

RobLoach commented 1 year ago

Export the config, and send it as a Pull Request to https://github.com/libretro/retroarch-joypad-autoconfig/ .

cidus commented 1 year ago

Hi @RobLoach thanks for replying. I'm not able remap the controller buttons using the UI, no input is detected, using either driver. It is strange that I'm able to control the UI (albeit the messed up buttons) when I choose the hdi driver, but still no input is detected on the remapping UI.

cidus commented 1 year ago

I also tested the controller on OpenEmu, I'm able to map the inputs and they work well.

cidus commented 11 months ago

SDL 2.28.5 has this same issue, it seems to be fixed here: https://github.com/libsdl-org/SDL/issues/8341 RA for Mac is not based on SDL right? But maybe the fix is similar.