Explorar o código

Fixed slow enumeration when Apple Cinema HD display 30" is plugged in

Sam Lantinga %!s(int64=6) %!d(string=hai) anos
pai
achega
19c3484469
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      src/hidapi/windows/hid.c

+ 6 - 0
src/hidapi/windows/hid.c

@@ -325,6 +325,12 @@ int hid_blacklist(unsigned short vendor_id, unsigned short product_id)
 		return 1;
 	}
 
+	// Apple Cinema HD display 30" - takes a long time to return the product string
+	if ( vendor_id == 0x05AC && product_id == 0x9220 )
+	{
+		return 1;
+	}
+
 	return 0;
 }