Namespace: DeltaEngine.Input.Windows.Tests
Assembly: DeltaEngine.Input.Windows.Tests (in DeltaEngine.Input.Windows.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Input.Windows.Tests (in DeltaEngine.Input.Windows.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void UpdateKeyStates() { var mockKeyboard = new MockWindowsKeyboard(); mockKeyboard.SetPressedKey(Key.A); var triggerPressing = new KeyTrigger(Key.A); mockKeyboard.Update(new[] { triggerPressing });
See Also