- Home /
Do multiple xbox controllers adjust their IDs on change
So I created 4 controller inputs in the input manager because I want my game to be playable with 4 in local coop.
I created them to listen to "joystick 1-4 button 5" and the axis joy nums are also joystick 1-4.
So if there are 4 controllers connected, can I assume that their ID is always 1 - 4? For example, if someone plugs in a 5th controller, then removes one of the other controllers, does the 5th become the 4th controller in unity or does it keep "joystick 5"?
Your answer
![](https://koobas.hobune.stream/wayback/20220612175858im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Getting Joystick Input from Matricom G-Pad BX? 0 Answers
Unity hot plug-in with controller 0 Answers
Controller Joystick Hold Delay Logic? 1 Answer
Joysticks and the input manager. Joystick 1 recognized as all joysticks. 1 Answer