-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from jdahlblom/master
#35 Stream Deck MK.2 support added.
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/StreamDeckSharp/Internals/StreamDeckMK2HardwareInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using OpenMacroBoard.SDK; | ||
using static StreamDeckSharp.UsbConstants; | ||
|
||
namespace StreamDeckSharp.Internals | ||
{ | ||
internal sealed class StreamDeckMK2HardwareInfo | ||
: StreamDeckJpgHardwareBase | ||
{ | ||
public StreamDeckMK2HardwareInfo() | ||
: base(new GridKeyPositionCollection(5, 3, 72, 32)) | ||
{ | ||
} | ||
|
||
public override string DeviceName => "Stream Deck MK.2"; | ||
public override int UsbProductId => ProductIds.StreamDeckMK2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters