Enum ControllerButton | XR Interaction Toolkit | 0.10.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Enum ControllerButton

    Button indices for buttons

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
    Syntax
    public enum ControllerButton

    Fields

    Name Description Value
    PrimaryButton 0
    PrimaryTouch 1
    SecondaryButton 2
    SecondaryTouch 3
    GripButton 4
    TriggerButton 5
    MenuButton 6
    Primary2DAxisClick 7
    Primary2DAxisTouch 8
    Secondary2DAxisClick 9
    Secondary2DAxisTouch 10
    UserPresence 11
    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