Struct InputEventTrace.DeviceInfo
Information about a device whose input has been captured in an InputEventTrace
Namespace: UnityEngine.InputSystem.LowLevel
Syntax
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
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 |
---|---|
Int32 |