@@ -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";
100100const u8 STRING_SECURITY[] = " PS4 protocol" ;
101101
102102const 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