Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Player indicator light don't correspond to Unity's joystick index #5

Open
JISyed opened this issue Sep 6, 2013 · 2 comments
Open

Comments

@JISyed
Copy link
Owner

JISyed commented Sep 6, 2013

img_20130906_120101

The Xbox 360 controller has a player indication light which ideally tell you the controller number. Unfortunately, Unity doesn't listen to this at all.

For example, the joystick shown above says that it's connected to the computer as controller # 2. However, when testing this controller in a Unity game, it's very likely that this controller won't move player 2 (whose green in my demo scene).

From my test, it depends on an unknown order in which you plugged your controllers. I've seen controller # 2 move player 1 (the red character in my scene) when I had two controllers plugged in. Although I was testing this on Windows, I'm sure the same problem will occur on other OSs.

The best work around for this as of now is to simply ignore the player indicator light on the Xbox 360 controller when playing Unity games. Unfortunately, I'm sure this will annoy end-users.

@JISyed
Copy link
Owner Author

JISyed commented Sep 6, 2013

Although not the exact same problem, this forum thread talks about a similar problem. The original poster couldn't get satisfying help on the Unity controller number mapping problem.

@JISyed
Copy link
Owner Author

JISyed commented Sep 12, 2013

I found this issue is almost nonexistent on Mac with Tattie Bogle drivers. The only time an inconsistency can arise is from unplugging controllers and plugging them back in (depends on the order). So the limitation is still sort of there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant