Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug ps4 dualshock 4, button RT hold cancel will always trigger tap interactions perform

Discussion in 'Input System' started by ant-papa, Dec 2, 2022.

  1. ant-papa

    ant-papa

    Joined:
    Feb 27, 2021
    Posts:
    4
    how to reproduce the bug.

    1. unity version 2021.3.15f, inputsystem ver 1.4.4
    2. create custom action by Create -> Input Actions
    3. create action map -> actions -> binding.
    4. in binding set the path to Right Trigger[Gamepad]
    5. in the binding, add interactions Tap and Hold. all default.

    this is all.

    you can test as belows
    1. start hold the Right Trigger
    2. wait until hold performed
    3. cancel the hold.

    then you can see the tap interaction started and performed also triggers when you cancel the hold.

    You can see the action settings in the attached image
     

    Attached Files:

    • a.png
      a.png
      File size:
      47.2 KB
      Views:
      12
  2. ant-papa

    ant-papa

    Joined:
    Feb 27, 2021
    Posts:
    4
    same thing happens for Left Trigger