JISyed/Unity-XboxCtrlrInput

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

Opened this issue · 2 comments

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.

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.

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.