Class KeyEvent
Event for a keyboard button changing state
public class KeyEvent : ButtonEvent, IInputEventArgs
- Inheritance
-
KeyEvent
- Implements
- Inherited Members
Fields
Key
The key that is being pressed or released.
public Keys Key
Field Value
RepeatCount
The repeat count for this key. If it is 0 this is the initial press of the key
public int RepeatCount
Field Value
Properties
Keyboard
The keyboard that sent this event
public IKeyboardDevice Keyboard { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.