Keyboard IsAvailable Property Delta Engine Documentation

Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public override bool IsAvailable { get; protected set; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Input.Windows.Tests.WindowsKeyboardTests
Examples

1 unit tests call DeltaEngine.Input.Keyboard.IsAvailable
[Test, CloseAfterFirstFrame]
public void DisposeSetsUnavailable()
{
    keyboard.Dispose();
    Assert.IsFalse(keyboard.IsAvailable);
}
See Also