docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InputEventTrace.DeviceInfo

    Information about a device whose input has been captured in an InputEventTrace

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.LowLevel
    Assembly: Unity.InputSystem.dll
    Syntax
    [Serializable]
    public struct InputEventTrace.DeviceInfo

    Properties

    deviceId

    Id of the device as stored in the events for the device.

    Declaration
    public int deviceId { get; set; }
    Property Value
    Type Description
    int
    See Also
    deviceId

    layout

    Name of the layout used by the device.

    Declaration
    public string layout { get; set; }
    Property Value
    Type Description
    string
    See Also
    layout

    stateFormat

    Tag for the format in which state for the device is stored.

    Declaration
    public FourCC stateFormat { get; set; }
    Property Value
    Type Description
    FourCC
    See Also
    stateBlock
    format

    stateSizeInBytes

    Size of a full state snapshot of the device.

    Declaration
    public int stateSizeInBytes { get; set; }
    Property Value
    Type Description
    int
    See Also
    deviceInfos

    See Also

    deviceInfos
    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)