#if ENABLE_VR || PACKAGE_DOCS_GENERATION using UnityEngine.XR; namespace Unity.XR.Oculus { /// /// Input Usages, consumed by the UnityEngine.XR.InputDevice class in order to retrieve inputs. /// These usages are all Oculus specific. /// public static class OculusUsages { /// /// Represents the capacitive touch thumbrest on Oculus Rift controllers. /// public static InputFeatureUsage thumbrest = new InputFeatureUsage("Thumbrest"); /// /// Represents the capacitive touch sensor state on the trigger of the Oculus Rift Controller. /// public static InputFeatureUsage indexTouch = new InputFeatureUsage("IndexTouch"); /// /// Represents the capacitive touch sensor state on the grip of the Oculus Rift Controller. /// public static InputFeatureUsage thumbTouch = new InputFeatureUsage("ThumbTouch"); } } #endif