Class InputEvent
Represents an input event that occurred.
public class InputEvent
- Inheritance
-
InputEvent
- Inherited Members
Constructors
InputEvent(InputKey, InputTriggerType)
Creates a new input event.
public InputEvent(InputKey inputKey, InputTriggerType triggerType)
Parameters
inputKeyInputKeyThe input key that generated this event
triggerTypeInputTriggerTypeThe type of trigger that occurred
Properties
InputKey
The input key that generated this event.
public InputKey InputKey { get; }
Property Value
Timestamp
The time when this event occurred.
public DateTime Timestamp { get; }
Property Value
TriggerType
The type of trigger that occurred.
public InputTriggerType TriggerType { get; }
Property Value
Methods
ToString()
Returns a string representation of the event.
public override string ToString()