Class KeyCodeTrigger
Inheritance
KeyCodeTrigger
Assembly: Glitch9.IO.dll
Syntax
[Serializable]
public class KeyCodeTrigger : IRecordingTrigger
Fields
|
Edit this page
View Source
holdThresholdMs
Declaration
[Range(100, 1000)]
public int holdThresholdMs
Field Value
|
Edit this page
View Source
key
Declaration
Field Value
|
Edit this page
View Source
useAlt
Declaration
Field Value
|
Edit this page
View Source
useCtrl
Declaration
Field Value
|
Edit this page
View Source
useShift
Declaration
Field Value
Methods
|
Edit this page
View Source
Initialize(ILogger)
Declaration
public void Initialize(ILogger logger)
Parameters
| Type |
Name |
Description |
| ILogger |
logger |
|
|
Edit this page
View Source
OnHoldKey(Action, Action)
Declaration
public void OnHoldKey(Action onPressed, Action onReleased)
Parameters
|
Edit this page
View Source
OnToggleKey(Action)
Declaration
public void OnToggleKey(Action onToggle)
Parameters
| Type |
Name |
Description |
| Action |
onToggle |
|
|
Edit this page
View Source
Reset()
Declaration
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods