MouseDeviceCounter GetNumberOfAvailableMice Method Delta Engine Documentation

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

public int GetNumberOfAvailableMice()

Return Value

Type: Int32
Remarks

Tests: DeltaEngine.Input.Windows.Tests.MouseDeviceCounterTests
Examples

1 unit tests call DeltaEngine.Input.Windows.MouseDeviceCounter.GetNumberOfAvailableMice
[Test]
public void GetNumberOfAvailableMice()
{
    Assert.DoesNotThrow(delegate
    {
        var counter = new MouseDeviceCounter();
        Assert.Greater(counter.GetNumberOfAvailableMice(), 0);
    });
}
See Also