Commit a4db44fa71d8c279eed8581385a2225d626498e7

Sam Lantinga 2021-01-27T12:41:37

The Sharkoon Skiller SGH2 headset hangs in DirectInput enumeration, so avoid it here just in case. See bug 5485 for details.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/hidapi/windows/hid.c b/src/hidapi/windows/hid.c
index 3f39133..92dd6a7 100644
--- a/src/hidapi/windows/hid.c
+++ b/src/hidapi/windows/hid.c
@@ -321,6 +321,7 @@ int hid_blacklist(unsigned short vendor_id, unsigned short product_id)
         { 0x1532, 0x0109 },  /* Razer Lycosa Gaming keyboard */
         { 0x1532, 0x010B },  /* Razer Arctosa Gaming keyboard */
         { 0x045E, 0x0822 },  /* Microsoft Precision Mouse */
+        { 0x0D8C, 0x0014 },  /* Sharkoon Skiller SGH2 headset */
 
         /* Turns into an Android controller when enumerated... */
         { 0x0738, 0x2217 }   /* SPEEDLINK COMPETITION PRO */