docs.unity3d.com
    目次を表示する/隠す

    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
    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
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)