Skip to content

Commit e5301ba

Browse files
authored
Update ArduinoDS4_USBDesc.cpp
1 parent 29c2a6e commit e5301ba

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cores/arduino/ArduinoDS4/ArduinoDS4_USBDesc.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ const DeviceDescriptor USB_DeviceDescriptor = {
3636
0x00, // bDeviceSubClass
3737
0x00, // bDeviceProtocol
3838
0x40, // bMaxPacketSize0
39-
0x054C, // idVendor
40-
0x05C4, // idProduct
41-
0x0100, // bcdDevice
42-
0x01, // iManufacturer
43-
0x02, // iProduct
44-
0x00, // iSerialNumber
39+
0x1532, // idEVendor
40+
0x0401, // idProduct
41+
0x0100, // bcdDevice
42+
0x01, // iManufacturer
43+
0x02, // iProduct
44+
0x00, // iSerialNumber
4545
0x01, // bNumConfigurations
4646
};
4747

@@ -80,7 +80,7 @@ const u8 USB_ConfigDescriptor[] = {
8080
// Endpoint 1: Control Surface Send
8181
0x07, // bLength
8282
0x05, // bDescriptorType (ENDPOINT)
83-
0x84, // bEndpointAddress (IN, 1)
83+
0x81, // bEndpointAddress (IN, 1)
8484
0x03, // bmAttributes
8585
0x40, 0x00, // wMaxPacketSize
8686
0x05, // bInterval
@@ -100,7 +100,7 @@ const u8 STRING_SERIAL[] = "Arduino DS4 AVR";
100100
const u8 STRING_SECURITY[] = "PS4 protocol";
101101

102102
const u8 hidDescriptor[] = {
103-
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
103+
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
104104
0x09, 0x05, // Usage (Game Pad)
105105
0xA1, 0x01, // Collection (Application)
106106
0x85, 0x01, // Report ID (1)

0 commit comments

Comments
 (0)