libretro / RetroArch

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

Two Xbox controllers detected as the same device in Retroarch, with 360controller driver on OS X #3415

Open Ryunam opened 8 years ago

Ryunam commented 8 years ago

As referenced here: https://github.com/360Controller/360Controller/issues/341

The 360controller driver is a third-party application that enables compatibility of Xbox controllers with OS X. As it currently stands, it works perfectly with Retroarch when using a single Xbox controller, however once a second controller is plugged in, both are seen as the same device within the Input menu of RA. This prevents the user from assigning specific inputs to one or the other player.

From the Preference Pane of the 360controller driver itself everything appears as it should: the two controllers are recognized as two different devices and can be tested accordingly. Moreover, the developers of the driver have indicated that this should be an issue with Retroarch specifically. Thanks in advance for any help!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37143009-two-xbox-controllers-detected-as-the-same-device-in-retroarch-with-360controller-driver-on-os-x?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github).
danzel commented 7 years ago

@Ryunam Could you retest this on latest master? Should be fixed with my fix for #4215

frranck commented 7 years ago

@danzel Hi Dave, I just tried with the current master. My 2 IBuffalo snes pads are listed twice, both with the same #0 number, USB2, 2-axis 8-button gamepad (#0) when I'm select them in "User x Device Index" in Input User x Binds.

When I try "User x bind all" them I get this unreadable screen:

https://pasteboard.co/Gz4mOPA.png

danzel commented 7 years ago

Hi frranck. My mac is currently packed up, so I can't look at this. There are some notes about what I did in #4215 if you want to try debug why this has come up again (assuming that this is the same bug).

leslieb256 commented 5 years ago

Hi, just hit the same issue. Recently got an old mac mini and decieded to make it a tv games machine. I have three types of controller, an XBOX360 clone (which shows as an xbox controller) in wired USB, some other weird clone that appears as a Retrolink N64 wired USB and a PS3 controller plugged in via USB and a wireless MS keyboard with the dongle in a USB port.

I could only get one controller to detect at anytime. I checked this by scrolling through the user input options for each user and only of the devices appears. I after a while of fiddling around closing and reopening retroach I managed to get two ps3 controllers detected at the same time (as #1 and #2). I can see both in the System information screen BUT even with the retroarch set to allow any user to control the menus only one controller works and when I try to run a game only one controller works.

I initally had issues with a USB hub but these persisted even when plugging the devices directly in to the Macmini.

build date September 7 2019; Mac mini 3,1; OSX 10.10

EDIT: after re-reading this issue I realised all my controller issues might stem from my install of the 360 Xbox controlller driver. I removed the driver (deleted from /System/Libaries/Something/ and now both my ps3 controllers work perfectly.