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

"2 Xbox controllers plugged in", but really has only one (XONE) #20

Open
daybson opened this issue Aug 16, 2016 · 4 comments
Open

"2 Xbox controllers plugged in", but really has only one (XONE) #20

daybson opened this issue Aug 16, 2016 · 4 comments

Comments

@daybson
Copy link

daybson commented Aug 16, 2016

I got this message, but I only have 1 XONE controller connected.
Otherwise seems to be working fine on Unity Editor with XONE controller.

@JISyed
Copy link
Owner

JISyed commented Dec 21, 2016

Sorry for the really late response.

When you load the example scene, what does Unity call your controller (as pointed out in the picture)? Also, what OS are you working on?

xci_test_room unity - xboxctrlrinput - pc mac linux standalone personal 2016-12-20 20-29-26

@robotv56
Copy link

robotv56 commented Mar 23, 2017

Hey there JISyed
I've run into an issue where I've had two 360 controllers and an xbox controller unplugged and plugged back in.
The plugin accurately makes the two xbox controllers, who have the 3rd and 4th player lights on, show up as controller inputs 3 and 4. The problem is there is no player 2 controller, with the Xbox One controller being controller input 1, and the function GetNumPluggedCtrlrs() is returning 4, so my game has the 2nd input shown as active because of this, not a huge problem but I wanna know a work around so I can at least hide that input since it isn't actually active.
I've provided a picture with the debug returned names, the actual controller code I'm calling, and how they are currently being shown.
image

@robotv56
Copy link

Oh it appears I mislabeled the third and fourth controllers.
They are swapped from the descriptions I wrote, they are receiving inputs correctly like I said before.

@robotv56
Copy link

I've come up with a work around to the Non-Existent controller issue.
I'll have it so you have to press a button on a plugged in controller to have it show up and be considered a valid input to listen for.

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

3 participants