Keyboard input message for remote input via networking.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Input KeyboardMessage
Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The KeyboardMessage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyboardMessage | Initializes a new instance of the KeyboardMessage class | |
KeyboardMessage( Key ) | Initializes a new instance of the KeyboardMessage class |
Properties
Name | Description | |
---|---|---|
PressedKeys |
Remarks
Examples
[Test] public void CanCreateKeyboardMessageWithoutParameter() { keyboardMessage = new KeyboardMessage(); Assert.NotNull(keyboardMessage); }
[Test] public void PressedKeyShouldBeEnter() { Assert.AreEqual(new[] { Key.Enter }, keyboardMessage.PressedKeys); }
See Also