Whenever I try to test a button input (A,B,X,Y), Unity responds as if those button inputs are being executed continuously all at the same time even if no button is being pressed on the controller.
Does anyone know what’s going on and if possible a fix?
yeah I have same issues… using MAC… switch controller pro using Unity MAC & Linux Standalone platform version 2020.2.1 and input system 1.0.2
With the examples provided in the input system package I have the behaviour that the left pad is constantly pressed and the A,B,X,Y buttons too… Is there a way to fix this?
It should work if you connect it over bluetooth, I’ve tried it myself and it worked without any additional drivers. Unfortunately Switch Pro controller is not a standard USB HID complaint controller, so even Windows itself cannot recognize it when connecting via USB (you can observe that if you open “Set up USB game controllers” when Switch Pro is connected, there is no input coming over USB)
Whenever I try to test a button input (A,B,X,Y), Unity responds as if those button inputs are being executed continuously all at the same time even if no button is being pressed on the controller.
Check if you have Steam running, they send some special commands to the controller, and it starts generating non USB HID compliant messages.
I tried again with macOS Catalina 10.15.7+ unity 2020.2.4f in PC, MAC & Linux Standalone + input system v1.0.2 + switch pro controller via bluetooth + No steam installed in my machine
So the result is the same… testing in an empty project, with only the simple demo example from input system, it seems that the player is constantly rotating to the left and firing all the time without pressing anything…
Have you tried with the same or similar configuration @dmytro_at_unity ?
Check this image with the input debug for WsitchProControllerHID, having it quiet in the desktop without pressing anything
is constantly changing the value for ButtonEast, North, South and West from 0 to 1, and constantly updating the left styck values
Works for me on 10.15.7 + 2020.2.4f1 + v1.0.2 + controller bluetooth.
Would you mind to check if something like Controllers Lite on the Mac App Store recognizes it correctly? If yes, meaning the application recognizes and reports data correctly, but Unity does not, then please file a bug report, don’t forget to attach the device descriptor (right click in input debugger on the device, and save device descriptor, it’s a long json).
yesterday I tried again and finally I get it to work… What I did:
desync bluetooth controller pro from MAC
sync bluetooth controller pro again with MAC
Use controllers-lite to test and seems that it was working
Open unity project and it worked
Something that was different from the latest time that I tested is that this time the blue led in the home button was not activated and all the previous times it was… perhaps this leds indicates something important?
Thanks for all the help and the good job you are doing with the new input system!!!
Same problem. Unity 2021.1.5f1, Win 10, Input system Version 1.0.2,
connecting via USB (I don’t have Bluetooth).
steam is not running.
Windows can recognize it and I can play steam games with it.
It might be worth noting that as a workaround, you can add Unity Hub as a non-Steam game on steam - if you then launch Unity Hub through Steam, the Switch Pro Controller works even when wired through USB.
Tried doing this but steam only recognizes UnityHub for a few seconds for me (I can see playing Unity Hub and after a few seconds just Online in my contacts list) so controller ends up never working,
I’m here in May of 2022 and it’s still not working worth anything. I’m a complete noob when it comes to all things game development, so could someone help me figure out how to use the resource here? What do I do with it?
I know this is an old thread - but for me, it was Steam running in the background. As soon as I exited Steam, everything worked flawlessly. After over 4 hours of debugging…lol
My wired pro controller works fine EXPECT that I have mapped buttons like ‘A’ for submit on UI’s as I couldn’t get a submit button working (using the new Input System to be clear) and it does not work.
The button i used for cancel works fine, but I cannot click buttons. Very weird.
Using Unity 2021.3.16f1
EDIT: After connecting my pro controller via bluetooth, I still have the same problem, my mapped buttons don’t actually work correctly with UI but they do in-game.
I do have a UI Input component plus my xbox controller works correctly. Weird
Unity Version 2022.1.16f1. I had the same problem with my inputs continuously being pressed when using my switch controller. I found out the problem was related to the wired connection. Connecting a switch controller through usb to your PC causes problems with inputs. If you connect through Bluetooth the problem resolves itself. At least it did in my case. I was stuck on this problem for a year and finally, the simple fix of Bluetooth connection seemed to have done the trick. Hope this helps!