MockKeyboard ClassDelta Engine Documentation
Mock keyboard for unit testing. View code on GitHub
Inheritance Hierarchy

System Object
  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

public sealed class MockKeyboard : Keyboard

The MockKeyboard type exposes the following members.

Constructors

  NameDescription
Public methodMockKeyboard
Initializes a new instance of the MockKeyboard class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the MockKeyboard
(Overrides InputDevice Dispose .)
Public methodGetKeyState (Inherited from Keyboard.)
Public methodHandleInput (Inherited from Keyboard.)
Public methodSetKeyboardState
Public methodUpdate (Inherited from Keyboard.)
Protected methodUpdateKeyStates (Overrides Keyboard UpdateKeyStates .)
Top
Fields

  NameDescription
Protected fieldkeyboardStates (Inherited from Keyboard.)
Protected fieldnewlyPressedKeys (Inherited from Keyboard.)
Top
Properties

  NameDescription
Public propertyIsAvailable (Inherited from Keyboard.)
Protected propertyIsCapsLocked (Overrides Keyboard IsCapsLocked.)
Top
See Also