Struct InputEventTrace.DeviceInfo
Information about a device whose input has been captured in an InputEventTrace
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
layout
Name of the layout used by the device.
Declaration
public string layout { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
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
stateSizeInBytes
Size of a full state snapshot of the device.
Declaration
public int stateSizeInBytes { get; set; }
Property Value
Type | Description |
---|---|
int |