Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question I am having difficulty using Input with CommonUsages(LeftHand, RightHand)

Discussion in 'Input System' started by EliotVR, Jul 14, 2020.

  1. EliotVR

    EliotVR

    Joined:
    Jan 12, 2017
    Posts:
    14
    I am having difficulty using Input with CommonUsages(LeftHand, RightHand)

    I created a CustomDevice to map SteamVR Input to Actions.

    It was a success until the creation of InputDevice.

    There is a problem when binding the created InputDevice to Action.

    If I bind CustomDevice(any) to Action, input works fine.

    However, if the Input Device using RightHand and LeftHand of CommonUsages is bound, the input does not work.

    Is it necessary to distinguish inputs depending on the type of CommonUsage?

    I can't find an example for that, so I ask.
     
  2. EliotVR

    EliotVR

    Joined:
    Jan 12, 2017
    Posts:
    14
    I solved this problem.

    I correct Left and Right CommonUsages to LeftHand and RightHand.

    It works fine