Search Unity

Input in VR using Input System UI Input Module and selecting on press down

Discussion in 'Input System' started by Iron-Warrior, Nov 21, 2020.

  1. Iron-Warrior

    Iron-Warrior

    Joined:
    Nov 3, 2009
    Posts:
    838
    I'm using the Input System UI Input Module with VR controllers to interact with a canvas. This works great, but buttons are selected only when the user presses and releases. This behavior is expected with using a mouse, but can be frustrating on VR as your hand can drift away from the target while pulling the trigger.

    Is it possible to configure the Input Module to select elements when the initial press down is detected? I'm guessing this is how touch does it, but seeing as the input module file is 1700 lines of code, I figured I'd ask here before delving in myself.

    Thanks,
    Erik
     
  2. Iron-Warrior

    Iron-Warrior

    Joined:
    Nov 3, 2009
    Posts:
    838
    Giving this a little bump for visibility during the week.