Skip to content

Commit 1681b01

Browse files
committed
Add GetDeckCount
1 parent 1309271 commit 1681b01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

C#/AutoHotStreamDeck/Wrapper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ public DeckInstance GetDeck(int index)
4545
return dev;
4646
}
4747

48+
public int GetDeckCount()
49+
{
50+
return _connectedDevices.Count;
51+
}
52+
4853
public Image CreateImageFromFileName(string fileName)
4954
{
5055
var bmp = new BitmapImage(new Uri(fileName));

0 commit comments

Comments
 (0)