docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    D-Pad Interaction

    Unity OpenXR provides support for the Dpad Binding extension specified by Khronos. Use this layout to retrieve the bindings data that the extension returns. This extension allows the application to bind one or more digital actions to a trackpad or thumbstick as though it were a dpad by defining additional component paths to suggest bindings for.

    Enables the OpenXR interaction profile for Dpad Interaction and exposes the <DPad> layout within the Unity Input System.

    For more information about the Dpad Binding extension, refer to the OpenXR Specification.

    Available controls

    The following table outlines the mapping between the OpenXR paths and Unity's implementation:

    OpenXR Path Unity Control Name Type
    /input/thumbstick/dpad_up thumbstickDpadUp Boolean
    /input/thumbstick/dpad_down thumbstickDpadDown Boolean
    /input/thumbstick/dpad_left thumbstickDpadLeft Boolean
    /input/thumbstick/dpad_right thumbstickDpadRight Boolean
    /input/trackpad/dpad_up trackpadDpadUp Boolean
    /input/trackpad/dpad_down trackpadDpadDown Boolean
    /input/trackpad/dpad_left trackpadDpadLeft Boolean
    /input/trackpad/dpad_right trackpadDpadRight Boolean
    /input/trackpad/dpad_center trackpadDpadCenter Boolean
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)