Search Unity

Disable Touch / OpenVR Controller support from UnityEngine.Input

Discussion in 'AR/VR (XR) Discussion' started by Poupi, Feb 21, 2017.

  1. Poupi

    Poupi

    Joined:
    Jan 11, 2012
    Posts:
    111
    Hey,

    We're ( unfortunately) using the native input system of Unity for our game, supporting both controllers and mouse / keyboard. We're working on a seated experience meant to be played with a classic controller, therefore we want to totally disable inputs registered by motion controllers, but we don't know how to do as it's directly mapped on to Unity axis.

    Anyone got an idea from this ? (and possibly something that don't imply to detect if the input comes from a touch controller through the OpenVR SDK and then do not register any input for the next frame).

    Thanks