Closed theodor349 closed 5 years ago
What type of XBox controller? XBox 360 or XBox One? Is the controller wired or wireless? What Unity version are you using? What operating system are you using? What platform do you have set as active in the build settings? Did you try out example 05 in the plugin project? Does the controller work there?
Okay, I tried your example and it works. However, I tried setting the same up in my project and it does only work for the keyboard button.
Your project:
My Project:
Did you add the "ENABLE_X_INPUT" scripting symbol in the player settings? You should have gotten some warnings about it.
No, I had not added it. But now that I have I get the warning "No gamepad adapter has been assigned" and I can't figure out where I set that up.
Add the XInputDotNetAdapter component to the Input Manager game-object.
Okay thanks, that works wonderfully
I have tried to set up an XBox controller. And it seems that most axis except for X, Y and the 3rd does not work.
And if possible it would be nice if all axis maps to the standard like here: Link