Mock keyboard for unit testing.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities UpdateBehavior
DeltaEngine.Input InputDevice
DeltaEngine.Input Keyboard
DeltaEngine.Input.Mocks MockKeyboard
Namespace: DeltaEngine.Input.Mocks
Assembly: DeltaEngine.Input.Mocks (in DeltaEngine.Input.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockKeyboard type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockKeyboard | Initializes a new instance of the MockKeyboard class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the MockKeyboard (Overrides InputDevice Dispose .) | |
GetKeyState | (Inherited from Keyboard.) | |
HandleInput | (Inherited from Keyboard.) | |
SetKeyboardState | ||
Update | (Inherited from Keyboard.) | |
UpdateKeyStates | (Overrides Keyboard UpdateKeyStates .) |
Fields
Name | Description | |
---|---|---|
keyboardStates | (Inherited from Keyboard.) | |
newlyPressedKeys | (Inherited from Keyboard.) |
Properties
Name | Description | |
---|---|---|
IsAvailable | (Inherited from Keyboard.) | |
IsCapsLocked | (Overrides Keyboard IsCapsLocked.) |
See Also