@@ -36,12 +36,12 @@ const DeviceDescriptor USB_DeviceDescriptor = {
36
36
0x00 , // bDeviceSubClass
37
37
0x00 , // bDeviceProtocol
38
38
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
45
45
0x01 , // bNumConfigurations
46
46
};
47
47
@@ -80,7 +80,7 @@ const u8 USB_ConfigDescriptor[] = {
80
80
// Endpoint 1: Control Surface Send
81
81
0x07 , // bLength
82
82
0x05 , // bDescriptorType (ENDPOINT)
83
- 0x84 , // bEndpointAddress (IN, 1)
83
+ 0x81 , // bEndpointAddress (IN, 1)
84
84
0x03 , // bmAttributes
85
85
0x40 , 0x00 , // wMaxPacketSize
86
86
0x05 , // bInterval
@@ -100,7 +100,7 @@ const u8 STRING_SERIAL[] = "Arduino DS4 AVR";
100
100
const u8 STRING_SECURITY[] = " PS4 protocol" ;
101
101
102
102
const u8 hidDescriptor[] = {
103
- 0x05 , 0x01 , // Usage Page (Generic Desktop Ctrls)
103
+ 0x05 , 0x01 , // Usage Page (Generic Desktop Ctrls)
104
104
0x09 , 0x05 , // Usage (Game Pad)
105
105
0xA1 , 0x01 , // Collection (Application)
106
106
0x85 , 0x01 , // Report ID (1)
0 commit comments