Struct CapturedKey
- Namespace
- BSGameLib.UI
- Assembly
- BSGameLib.UI.dll
A key a player pressed while IKeyCapture was listening, with the modifiers held around it. A modifier pressed and let go on its own comes back as that key with no modifiers - Shift alone is a binding in its own right (running, say).
public readonly record struct CapturedKey : IEquatable<CapturedKey>
- Implements
- Inherited Members
Constructors
CapturedKey(Key, KeyModifiers)
A key a player pressed while IKeyCapture was listening, with the modifiers held around it. A modifier pressed and let go on its own comes back as that key with no modifiers - Shift alone is a binding in its own right (running, say).
public CapturedKey(Key Key, KeyModifiers Modifiers)
Parameters
KeyKeyModifiersKeyModifiers
Properties
Key
public Key Key { get; init; }
Property Value
Modifiers
public KeyModifiers Modifiers { get; init; }