- Home /
XBox controller does not have a name
I have the problem that my XBox controller does not have a name in the Console but in the Input debugger... Im Using this script to get the name: public class controllertest : MonoBehaviour { public string[] controllers;
void Update () {
controllers = Input.GetJoystickNames();
}
}
My PS4 controller has the name Wireless Controller in console and in this script.
element 0 is the xbox controller. Controls are still working fine like movement and other stuff...
Answer by FrozenTrident · May 09, 2021 at 04:50 AM
Try using the new input system vvv https://www.youtube.com/watch?v=yRI44aYLDQs&t=16s
ok, Thanks i will try to use it. i forgot about that haha
Your answer
Follow this Question
Related Questions
Can't get Triggers to Work [Solved] 1 Answer
Xbox controller double input (right stick axis) 0 Answers
Do multiple xbox controllers adjust their IDs on change 0 Answers
How to get individual trigger input using Xbox 360 controller? 3 Answers
What is the official (according to Sony) way to set up a PS3 controller? 0 Answers