1
0
Fork 0
mirror of https://github.com/Luzifer/streamdeck.git synced 2024-12-20 09:41:19 +00:00

Add support for StreamDeck Mini V2

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-10-06 18:05:47 +02:00
parent 1cd92ed32e
commit fe1d8190dc
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
2 changed files with 4 additions and 0 deletions

View file

@ -48,4 +48,5 @@ var decks = map[uint16]deckConfig{
StreamDeckOriginalV2: &deckConfigOriginalV2{},
StreamDeckXL: &deckConfigXL{},
StreamDeckMini: &deckConfigMini{},
StreamDeckMiniV2: &deckConfigMini{},
}

View file

@ -17,12 +17,15 @@ const (
StreamDeckXL uint16 = 0x006c
// StreamDeck Mini (0fd9:0063) 6 keys
StreamDeckMini uint16 = 0x0063
// StreamDeck Mini V2 (0fd9:0090) 6 keys
StreamDeckMiniV2 uint16 = 0x0090
)
var DeckToName = map[uint16]string{
StreamDeckOriginalV2: "StreamDeck Original V2",
StreamDeckXL: "StreamDeck XL",
StreamDeckMini: "StreamDeck Mini",
StreamDeckMiniV2: "StreamDeck Mini V2",
}
// EventType represents the state of a button (Up / Down)