Mock game pad for unit testing.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities UpdateBehavior
DeltaEngine.Input InputDevice
DeltaEngine.Input GamePad
DeltaEngine.Input.Mocks MockGamePad
Namespace: DeltaEngine.Input.Mocks
Assembly: DeltaEngine.Input.Mocks (in DeltaEngine.Input.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockGamePad type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockGamePad | Initializes a new instance of the MockGamePad class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the MockGamePad (Overrides InputDevice Dispose .) | |
GetButtonState | (Overrides GamePad GetButtonState(GamePadButton).) | |
GetLeftThumbStick | (Overrides GamePad GetLeftThumbStick .) | |
GetLeftTrigger | (Overrides GamePad GetLeftTrigger .) | |
GetRightThumbStick | (Overrides GamePad GetRightThumbStick .) | |
GetRightTrigger | (Overrides GamePad GetRightTrigger .) | |
SetGamePadState | ||
SetUnavailable | ||
Update | (Inherited from GamePad.) | |
UpdateGamePadStates | (Overrides GamePad UpdateGamePadStates .) | |
Vibrate | (Overrides GamePad Vibrate(Single).) |
Properties
Name | Description | |
---|---|---|
IsAvailable | (Overrides InputDevice IsAvailable.) | |
Number | (Inherited from GamePad.) |
See Also