Skip to content

Commit

Permalink
Add support for StreamDeckXL v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyril RUSSO committed Dec 12, 2024
1 parent c719a80 commit 4296dec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion streamdeck.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const (
PID_STREAMDECK_MINI = 0x0063
PID_STREAMDECK_MINI_MK2 = 0x0090
PID_STREAMDECK_XL = 0x006c
PID_STREAMDECK_XL_V2 = 0x008f
)

// Firmware command IDs.
Expand Down Expand Up @@ -171,7 +172,7 @@ func Devices() ([]Device, error) {
resetCommand: c_REV2_RESET,
setBrightnessCommand: c_REV2_BRIGHTNESS,
}
case d.VendorID == VID_ELGATO && d.ProductID == PID_STREAMDECK_XL:
case d.VendorID == VID_ELGATO && (d.ProductID == PID_STREAMDECK_XL || d.ProductID == PID_STREAMDECK_XL_V2):
dev = Device{
ID: d.Path,
Serial: d.Serial,
Expand Down

0 comments on commit 4296dec

Please sign in to comment.