Search Unity

Bug Nintendo Switch Pro Controller trigger random values

Discussion in 'Input System' started by Juannicolas, Jun 5, 2021.

  1. Juannicolas

    Juannicolas

    Joined:
    Jul 15, 2018
    Posts:
    5
    Problems
    1. Nintendo Switch Pro Controller continuously trigger 0 and 1 in the following buttons:
      • buttonEast
      • buttonNorth
      • buttonSouth
      • buttonWest
      • leftShoulders
      • leftStick
      • rightStick
      • rightTrigger
    2. The dpad works as east, north, south and west buttons, and vice versa.
    3. Does not matter if connected via USB or Bluetooth.
    Setup
    • Nintendo Switch Pro Controller (STANDARD GAMEPAD Vendor: 057e Product: 2009).
    • macOS 11.4
    • Test with Unity 2020.3.11f1 (main), Unity 2021.1.10f1 and Unity 2019.4.28f1.
    • Input System 1.0.2 and packages used:
    Some proofs

    The following images were recorded in a new project using Unity 2020.3.11f1 and the 2D template.



    My gamepad works perfect (tested with https://gamepad-tester.com/).



    I tried "all the solutions" shown in similar posts with this problem, but I need you help.
    Thanks.
     
    Heimlink and emielschumacher like this.
  2. Juannicolas

    Juannicolas

    Joined:
    Jul 15, 2018
    Posts:
    5
  3. unity_uH-ffL2JjQ2zVQ

    unity_uH-ffL2JjQ2zVQ

    Joined:
    Jun 2, 2020
    Posts:
    3
    +1 happening here too on mac os 11.4
     
  4. Juannicolas

    Juannicolas

    Joined:
    Jul 15, 2018
    Posts:
    5
    Update: I just tested on the latest version of Unity 2020 (2020.3.12f1) and noticed the following changes:

    • The problem continues over Bluetooth.
    • The problem stopped via USB, but now, no buttons are recognized.
     
  5. zh99998

    zh99998

    Joined:
    Mar 2, 2020
    Posts:
    3
    I have same problem in Unity 2021.1 and InputSystem 1.1.0-pre5
     
  6. unity_uH-ffL2JjQ2zVQ

    unity_uH-ffL2JjQ2zVQ

    Joined:
    Jun 2, 2020
    Posts:
    3
  7. McPeppergames

    McPeppergames

    Joined:
    Feb 15, 2019
    Posts:
    71
    Here it is the same. Switch pro controller totally out of control over Bluetooth. Using this with a character controller and the character goes wild without any buttons touched.
    One thing I have noticed. When trying to config the pro controller Player Controls the left stick is not recognized at all!
    When it is added manually during playing the left stick "fires" when the "ZL" button (front left bottom) is pressed!

    Any help welcome!
     
unityunity