Sanjay Govind hai 11 meses
pai
achega
8a95e53086
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      helpers/pof_usb.c

+ 3 - 0
helpers/pof_usb.c

@@ -666,6 +666,9 @@ static usbd_respond
         dev->status.data_count = sizeof(XInputVibrationCapabilities);
         return usbd_ack;
     }
+    if (req->bmRequestType == 0x41 && req->bRequest == 00 && (req->wValue == 0x1F || req->wValue == 0x1E)) {
+        return usbd_ack;
+    }
 
     /* HID control requests */
     if(((USB_REQ_RECIPIENT | USB_REQ_TYPE) & req->bmRequestType) ==