InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

[macOS][X360] Gamepad buttons are always pressed

Open fabiopicchi opened this issue 7 years ago • 1 comments

My setup is a macbook Air with a wired Xbox 360 gamepad connected to it (using this driver).

When running the game inside the Editor or when building a player with Mono, everything works as intended. However, when building with IL2CPP, for the following buttons the property isPressed is always true:

  • DPad (all directions)
  • North
  • Select

Please note that I am using raw input reading here so this state comes directly from Gamepad.current[GamepadButton.North].isPressed

fabiopicchi avatar Jun 09 '19 06:06 fabiopicchi

Filed: https://issuetracker.unity3d.com/product/unity/issues/guid/1162935/ Closing.

JiaUnity avatar Jun 14 '19 22:06 JiaUnity