Class HotkeySequence
Inheritance
HotkeySequence
Assembly: Assembly-CSharp.dll
Syntax
public class HotkeySequence
Constructors
|
Improve this Doc
View Source
HotkeySequence(KeyCode, HotkeySequence.KeyModifiers, Boolean)
Declaration
public HotkeySequence(KeyCode keyCode, HotkeySequence.KeyModifiers modifiers, bool useSecondary = false)
Parameters
Fields
|
Improve this Doc
View Source
expectedSyntax
Declaration
public static readonly string expectedSyntax
Field Value
|
Improve this Doc
View Source
None
Declaration
public static HotkeySequence None
Field Value
|
Improve this Doc
View Source
virtualKeys
Declaration
public const HotkeySequence.KeyModifiers virtualKeys = HotkeySequence.KeyModifiers.Ctrl | HotkeySequence.KeyModifiers.Shift | HotkeySequence.KeyModifiers.Alt
Field Value
Methods
|
Improve this Doc
View Source
CheckSetModifiers(HotkeySequence.KeyModifiers, HotkeySequence.KeyModifiers)
Declaration
public static bool CheckSetModifiers(HotkeySequence.KeyModifiers pressedModifiers, HotkeySequence.KeyModifiers triggeringModifiers)
Parameters
Returns
|
Improve this Doc
View Source
FromString(String)
Declaration
public static HotkeySequence FromString(string hotkeyName)
Parameters
Type |
Name |
Description |
String |
hotkeyName |
|
Returns
|
Improve this Doc
View Source
GetKeyboardKeyModifiers()
Declaration
public static HotkeySequence.KeyModifiers GetKeyboardKeyModifiers()
Returns
|
Improve this Doc
View Source
GetKeyModifiers(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Declaration
public static HotkeySequence.KeyModifiers GetKeyModifiers(bool leftControl, bool rightControl, bool leftShift, bool rightShift, bool leftAlt, bool rightAlt)
Parameters
Returns
|
Improve this Doc
View Source
IsDown()
Declaration
Returns
|
Improve this Doc
View Source
IsDownWith(HotkeySequence.KeyModifiers)
Declaration
public bool IsDownWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Returns
|
Improve this Doc
View Source
IsPressed()
Declaration
Returns
|
Improve this Doc
View Source
IsPressedWith(HotkeySequence.KeyModifiers)
Declaration
public bool IsPressedWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Returns
|
Improve this Doc
View Source
IsSameKeyCode(KeyCode)
Declaration
public bool IsSameKeyCode(KeyCode otherKeyCode)
Parameters
Type |
Name |
Description |
KeyCode |
otherKeyCode |
|
Returns
|
Improve this Doc
View Source
IsUp()
Declaration
Returns
|
Improve this Doc
View Source
IsUpWith(HotkeySequence.KeyModifiers)
Declaration
public bool IsUpWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
WithKeyCode(KeyCode)
Declaration
public HotkeySequence WithKeyCode(KeyCode newKeyCode)
Parameters
Type |
Name |
Description |
KeyCode |
newKeyCode |
|
Returns