Commit eaaa809e407399b0feb10cb80a1bd10cfe0e050c

Ryan C. Gordon 2020-04-15T13:33:09

hidapi: Blacklist the Razer Lycosa keyboard from enumeration. It's not a joystick and it hangs device enumeration.

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 715450c..2f66c50 100644
--- a/src/hidapi/windows/hid.c
+++ b/src/hidapi/windows/hid.c
@@ -320,6 +320,12 @@ int hid_blacklist(unsigned short vendor_id, unsigned short product_id)
 		return 1;
 	}
 
+	// Razer Lycosa Gaming keyboard - Causes deadlock when asking for device details
+	if ( vendor_id == 0x1532 && product_id == 0x0109 )
+	{
+		return 1;
+	}
+
 	// SPEEDLINK COMPETITION PRO - turns into an Android controller when enumerated
 	if ( vendor_id == 0x0738 && product_id == 0x2217 )
 	{