Class KeyEvent
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public class KeyEvent
- Inheritance
-
KeyEvent
- Inherited Members
- Extension Methods
Properties
AltPressed
Is Alt being held down?
public bool AltPressed { get; set; }
Property Value
CommandPressed
Is mac os command key being held down?
public bool CommandPressed { get; set; }
Property Value
CtrlPressed
Is control/Ctrl being held down?
public bool CtrlPressed { get; set; }
Property Value
Handled
Is this keypress/key combination handled?
public bool Handled { get; set; }
Property Value
KeyChar
the character for the given key.
public char KeyChar { get; set; }
Property Value
KeyCode
The keycode value.
public int KeyCode { get; set; }
Property Value
KeyCode2
If a player taps in quick succession, this is the second key
public int? KeyCode2 { get; set; }
Property Value
- int?
ShiftPressed
Is Shift being held down?
public bool ShiftPressed { get; set; }