docs.unity3d.com
    Show / Hide Table of Contents

    Struct HIDSupport.HIDPageUsage

    A pair of HID usage page and HID usage number.

    Namespace: UnityEngine.InputSystem.HID
    Syntax
    public struct HIDPageUsage
    Remarks

    Used to describe a HID usage for the supportedHIDUsages property.

    Constructors

    HIDPageUsage(HID.GenericDesktop)

    Create a HIDPageUsage struct from the GenericDesktop usage page by specifying the usage.

    Declaration
    public HIDPageUsage(HID.GenericDesktop usage)
    Parameters
    Type Name Description
    HID.GenericDesktop usage

    HIDPageUsage(HID.UsagePage, Int32)

    Create a HIDPageUsage struct by specifying a page and usage.

    Declaration
    public HIDPageUsage(HID.UsagePage page, int usage)
    Parameters
    Type Name Description
    HID.UsagePage page
    Int32 usage

    Fields

    page

    The usage page.

    Declaration
    public HID.UsagePage page
    Field Value
    Type Description
    HID.UsagePage

    usage

    A number specifying the usage on the usage page.

    Declaration
    public int usage
    Field Value
    Type Description
    Int32
    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