docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HIDSupport.HIDPageUsage

    A pair of HID usage page and HID usage number.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.HID
    Assembly: Unity.InputSystem.dll
    Syntax
    public struct HIDSupport.HIDPageUsage
    Remarks

    Used to describe a HID usage for the supportedHIDUsages property.

    Constructors

    HIDPageUsage(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(UsagePage, int)

    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
    int 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
    int
    In This Article
    Back to top
    Copyright © 2024 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)