KeyboardEventTriggers.KeyTracker
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Tracks one keyboard key and raises down and up events for it.
Constructors
Properties
| Member | What it is |
|---|
bool IsValid { get; } | True only while both a down and an up handler are attached. |
Key Key { get; } | The key tracked. |
Events
| Member | What it is |
|---|
event KeyEventHandler KeyPressedDown | Raised the frame the key is pressed. |
event KeyEventHandler KeyPressedUp | Raised the frame the key is released. |
Methods
| Member | What it is |
|---|
void Update() | Checks the key on the current keyboard and raises the matching event. |
Used in
Members of other types that take, return or hold a KeyTracker: