Quellcode durchsuchen

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

Sam Lantinga vor 5 Jahren
Ursprung
Commit
19c3484469
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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;
 }