docs.unity3d.com
    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
    Syntax
    [Serializable]
    public struct 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
    Int32
    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
    Int32

    See Also

    deviceInfos
    Back to top
    Terms of use
    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