Struct KeyModifier
Encapsulates a key code and modifiers.
public readonly struct KeyModifier
- Inherited Members
Remarks
Constructors
KeyModifier(ScKeyCode, KeyMod)
public KeyModifier(ScKeyCode keyCode, KeyMod modifier)
Parameters
keyCodeScKeyCodeA visible or control character or a key from the ScKeyCode enumeration.
modifierKeyModA combination of zero or more of ALT, CTRL, SHIFT, META, and SUPER. On macOS, the Command key is mapped to CTRL and the Control key to META. SUPER is only available on GTK which is commonly the Windows key. If you are building a table, you might want to use NORM, which has the value 0, to mean no modifiers.
Properties
Value
public int Value { get; }