The InputEventTrace lets you record input events for later processing.
Inheritance
System.Object
InputEventTrace
[Serializable]
public sealed class InputEventTrace : IDisposable, IEnumerable<InputEventPtr>, IEnumerable
Constructors
Declaration
public InputEventTrace(int bufferSize = 1048576)
Parameters
Type |
Name |
Description |
System.Int32 |
bufferSize |
|
Properties
Declaration
public int deviceId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool enabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Declaration
Declaration
Declaration
Declaration
Declaration
protected void Finalize()
Declaration
public IEnumerator<InputEventPtr> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<InputEventPtr> |
|
Declaration
public bool GetNextEvent(ref InputEventPtr current)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Events
Declaration
public event Action<InputEventPtr> onEvent
Event Type