Skip to content

Commit 56b5835

Browse files
Added new Stream Deck XL PID (#3570)
- Closes #3553
1 parent 70a1cda commit 56b5835

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

extensions/streamdeck/HSStreamDeckManager.m

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ - (id)init {
156156
productIDKey: @USB_PID_STREAMDECK_MINI_V2};
157157
NSDictionary *matchXL = @{vendorIDKey: @USB_VID_ELGATO,
158158
productIDKey: @USB_PID_STREAMDECK_XL};
159+
NSDictionary *matchXLV2 = @{vendorIDKey: @USB_VID_ELGATO,
160+
productIDKey: @USB_PID_STREAMDECK_XL_V2};
159161
NSDictionary *matchMk2 = @{vendorIDKey: @USB_VID_ELGATO,
160162
productIDKey: @USB_PID_STREAMDECK_MK2};
161163
NSDictionary *matchPlus = @{vendorIDKey: @USB_VID_ELGATO,
@@ -169,6 +171,7 @@ - (id)init {
169171
matchMini,
170172
matchMiniV2,
171173
matchXL,
174+
matchXLV2,
172175
matchMk2,
173176
matchPlus,
174177
matchPedal]);
@@ -265,7 +268,11 @@ - (HSStreamDeckDevice*)deviceDidConnect:(IOHIDDeviceRef)device {
265268
case USB_PID_STREAMDECK_XL:
266269
deck = [[HSStreamDeckDeviceXL alloc] initWithDevice:device manager:self];
267270
break;
268-
271+
272+
case USB_PID_STREAMDECK_XL_V2:
273+
deck = [[HSStreamDeckDeviceXL alloc] initWithDevice:device manager:self];
274+
break;
275+
269276
case USB_PID_STREAMDECK_ORIGINAL_V2:
270277
deck = [[HSStreamDeckDeviceOriginalV2 alloc] initWithDevice:device manager:self];
271278
break;

extensions/streamdeck/streamdeck.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static const char *USERDATA_TAG = "hs.streamdeck";
2020
#define USB_PID_STREAMDECK_MINI 0x0063
2121
#define USB_PID_STREAMDECK_MINI_V2 0x0090
2222
#define USB_PID_STREAMDECK_XL 0x006c
23+
#define USB_PID_STREAMDECK_XL_V2 0x008F
2324
#define USB_PID_STREAMDECK_MK2 0x0080
2425
#define USB_PID_STREAMDECK_PLUS 0x0084
2526
#define USB_PID_STREAMDECK_PEDAL 0x0086

0 commit comments

Comments
 (0)