Oculus Touch Controller Profile | OpenXR Plugin | 0.1.2-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    Oculus Touch Controller Profile

    Enables the OpenXR interaction profile for Oculus Touch controllers and exposes the <OculusTouchController> device layout within the Unity Input System.

    For more information about the Oculus Touch interaction profile, see the OpenXR Specification.

    Available controls

    OpenXR Path Unity Control Name Type
    /input/thumbstick tumbstick Vector2
    /input/squeeze/value grip Float
    /input/squeeze/value gripPressed Float ( float cast to boolean)
    /input/menu/click menu (Left Hand Only) Boolean
    /input/system/click menu (Right Hand Only) Boolean
    /input/a/click primaryButton (Right Hand Only) Boolean
    /input/a/touch primaryTouched (Right Hand Only) Boolean
    /input/b/click secondaryButton (Right Hand Only) Boolean
    /input/b/touch secondaryTouched (Right Hand Only) Boolean
    /input/x/click primaryButton (Right Hand Only) Boolean
    /input/x/touch primaryTouched (Left Hand Only) Boolean
    /input/y/click secondaryButton (Left Hand Only) Boolean
    /input/y/touch secondaryTouched (Left Hand Only) Boolean
    /input/trigger/value trigger Float
    /input/trigger/value triggerPressed Boolean (float cast to boolean)
    /input/trigger/touch triggerTouched Boolean (float cast to boolean)
    /input/thumbstick/click thumbstickClicked Boolean
    /input/thumbstick/touch thumbstickTouched Boolean
    /input/grip/pose devicePose Pose
    /input/aim/pose pointer Pose
    Unity Layout Only isTracked Flag Data
    Unity Layout Only trackingState Flag Data
    Unity Layout Only devicePosition Vector3
    Unity Layout Only deviceRotation Quaternion
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023