Switch Pro Controller continuous input problem

Hello, I’ve been trying to get a pro controller working with Unity for quite some time now and I’m on the brink of getting it to work.

Following advice from this reddit post
https://www.reddit.com/r/Unity3D/comments/ko7b6a/switch_pro_controller_input_not_recognized/

I installed BetterJoyforCemu and now Unity recognizes the pro controller as an xbox controller and inputs “work”.

However, like this other reddit post I found from 2 months that went unanswered
https://www.reddit.com/r/Unity3D/comments/jpwj8l/pro_controller_input_going_crazy/

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?

1 Like

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?

noone?

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.

2 Likes

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).

Hi!

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!!!

Sergi

I have the same problem.

  • macOS Big Sur 11.4
  • Unity 2020.3.10f1
  • Input System 1.0.2

I’m not touching any button:

amusingbelatedkinkajou

Any news on that? Same problem
Windows 10, Unity 2020.3.16f1, Input system 1.0.2

Is there possibility to fix 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.

Would you mind folks to report this as a bug (help->report bug) so it’s in the pipeline/can be voted/etc? Thanks a lot

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.

At least, that worked for me on Windows 10.

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,

Do you have a workaround for this behaviour?

This issue seems to have been fixed and merged into development as of 2022-01-12. Tested both wired and bluetooth with success on a macOS Monterey (12.1), Unity 2021.2.8f1 (Silicon). Scheduled for the 1.4 release. If you can’t wait, here’s the development github repo.

1 Like

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?

Any ETA on version 1.4.0? Seeing the same thing as everyone else—tried 3 different Switch Pro controllers and a variety of configurations.

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

I don’t have steam and still get these issues on 2022.1.5f1

EDIT: 2022.1.21f1 fixed it on my end. If you can update, do it.

I actually have a weird bug with this.

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!