瀏覽代碼

add missing interface

Sanjay Govind 11 月之前
父節點
當前提交
956973c823
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      helpers/pof_usb.c

+ 13 - 0
helpers/pof_usb.c

@@ -537,6 +537,19 @@ static const struct PoFUsbDescriptorXbox360 usb_pof_cfg_descr_x360 = {
         },
         },
     .plugin_module_desc =
     .plugin_module_desc =
         {0x09, 0x21, 0x00, 0x01, 0x01, 0x22, POF_USB_X360_PLUGIN_MODULE_EP_IN, 0x07, 0x00},
         {0x09, 0x21, 0x00, 0x01, 0x01, 0x22, POF_USB_X360_PLUGIN_MODULE_EP_IN, 0x07, 0x00},
+
+    .intfPluginModule =
+        {
+            .bLength = sizeof(struct usb_interface_descriptor),
+            .bDescriptorType = USB_DTYPE_INTERFACE,
+            .bInterfaceNumber = 1,
+            .bAlternateSetting = 0,
+            .bNumEndpoints = 1,
+            .bInterfaceClass = 0xFF,
+            .bInterfaceSubClass = 0x5D,
+            .bInterfaceProtocol = 0x02,
+            .iInterface = NO_DESCRIPTOR,
+        },
     .ep_in_plugin_module =
     .ep_in_plugin_module =
         {
         {
             .bLength = sizeof(struct usb_endpoint_descriptor),
             .bLength = sizeof(struct usb_endpoint_descriptor),