docs.unity3d.com
    Show / Hide Table of Contents

    HTC Vive Controller Profile

    Enables the OpenXR interaction profile for the HTC Vive Controller and exposes the <ViveController> device layout within the Unity Input System.

    For more information about the HTC Vive interaction profile, see the OpenXR Specification.

    Available controls

    OpenXR Path Unity Control Name Type
    /input/system/click select Boolean
    /input/squeeze/click grip Float ( boolean value cast to float)
    /input/squeeze/click gripButton Boolean
    /input/menu/click menu Boolean
    /input/trigger/value trigger Float
    /input/trigger/click triggerPressed Boolean
    /input/trackpad trackpad Vector2
    /input/trackpad/click trackpadClicked Boolean
    /input/trackpad/touch trackpadTouched 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
    In This Article
    • Available controls
    Back to top
    Terms of use
    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