Commit 19c348446903d7d5c9005519694cd3944ba7eced

Sam Lantinga 2020-03-13T19:19:29

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/hidapi/windows/hid.c b/src/hidapi/windows/hid.c
index b76b91b..5cea24f 100644
--- a/src/hidapi/windows/hid.c
+++ b/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;
 }