Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion extensions/streamdeck/HSStreamDeckManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ - (id)init {
productIDKey: @USB_PID_STREAMDECK_MINI_V2};
NSDictionary *matchXL = @{vendorIDKey: @USB_VID_ELGATO,
productIDKey: @USB_PID_STREAMDECK_XL};
NSDictionary *matchXLV2 = @{vendorIDKey: @USB_VID_ELGATO,
productIDKey: @USB_PID_STREAMDECK_XL_V2};
NSDictionary *matchMk2 = @{vendorIDKey: @USB_VID_ELGATO,
productIDKey: @USB_PID_STREAMDECK_MK2};
NSDictionary *matchPlus = @{vendorIDKey: @USB_VID_ELGATO,
Expand All @@ -169,6 +171,7 @@ - (id)init {
matchMini,
matchMiniV2,
matchXL,
matchXLV2,
matchMk2,
matchPlus,
matchPedal]);
Expand Down Expand Up @@ -265,7 +268,11 @@ - (HSStreamDeckDevice*)deviceDidConnect:(IOHIDDeviceRef)device {
case USB_PID_STREAMDECK_XL:
deck = [[HSStreamDeckDeviceXL alloc] initWithDevice:device manager:self];
break;


case USB_PID_STREAMDECK_XL_V2:
deck = [[HSStreamDeckDeviceXL alloc] initWithDevice:device manager:self];
break;

case USB_PID_STREAMDECK_ORIGINAL_V2:
deck = [[HSStreamDeckDeviceOriginalV2 alloc] initWithDevice:device manager:self];
break;
Expand Down
1 change: 1 addition & 0 deletions extensions/streamdeck/streamdeck.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ static const char *USERDATA_TAG = "hs.streamdeck";
#define USB_PID_STREAMDECK_MINI 0x0063
#define USB_PID_STREAMDECK_MINI_V2 0x0090
#define USB_PID_STREAMDECK_XL 0x006c
#define USB_PID_STREAMDECK_XL_V2 0x008F
#define USB_PID_STREAMDECK_MK2 0x0080
#define USB_PID_STREAMDECK_PLUS 0x0084
#define USB_PID_STREAMDECK_PEDAL 0x0086
Expand Down