Namespace: DeltaEngine.Input.Tests
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void CheckGamePadIsAvailable() { var gamePad = Resolve<GamePad>(); if (gamePad is MockGamePad) ((MockGamePad)gamePad).SetUnavailable(); Assert.IsFalse(gamePad.IsAvailable); }
See Also