libretro / RetroArch

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

OSX - Retro-Bit Tribute64 Dongle phantom inputs #14568

Open retropieuser opened 1 year ago

retropieuser commented 1 year ago

The bug can be seen in this video, once the Retro-bit tribute64 dongle is plugged in, phantom inputs begin on loop (https://youtu.be/IfKAnqhvloo)

As a result unable to map anything for this controller and use a tribute64 controller on the Mac version of Retroarch. This affects 1.10 and 1.12 on both the Metal and Intel version (using an 8gb M1 MacBook Air)

Edit:- One factor I notice. When trying to use the controller on AetherSX2 or Dolphin, there's an HID input and an SDL input. If I select the HID it causes the phantom inputs. Is there a way to add SDL to the controller driver on Mac Intel or Metal versions? Or I would need to build this manually myself?

Screenshot 2023-06-19 at 15 02 55 Screenshot 2023-06-19 at 15 04 10

Another edit:-

So MFI Driver was added, this just gives us nothing in terms of device

Screenshot 2023-06-19 at 15 05 28

If HID driver is chosen, controller goes haywire as before

retropieuser commented 1 year ago

Okay just to add have been able to get Retroarch Intel and Metal building using Xcode. Which DHAVE cflags would I need to add to get SDL controller input driver? As Mac by default only builds with HID. This would solve my controller issue I think

Phwanky commented 1 year ago

It happens also with Pro Controllers. It seems a phantom up or down button is pressed.

retropieuser commented 1 year ago

A very inelegant solution but I downloaded the gamepad mapper app from the apple app store and just mapped the controller's SDL presses to keyboard keys. That fixed the issue and if I keep that app open I can use the controller, not particularly elegant solution but at least it works at all