Commit b3a34c94e02949567606a4f2103029c25324cb2b

Ryan C. Gordon 2020-05-06T03:18:25

hid: Add Microsoft Precision Mouse to the joystick blacklist. Same deal as the Razer keyboards, it hangs the enumeration.

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 8ffd2f2..9fa9a57 100644
--- a/src/hidapi/windows/hid.c
+++ b/src/hidapi/windows/hid.c
@@ -320,6 +320,7 @@ int hid_blacklist(unsigned short vendor_id, unsigned short product_id)
         { 0x1B1C, 0x1B3D },  /* Corsair Gaming keyboard */
         { 0x1532, 0x0109 },  /* Razer Lycosa Gaming keyboard */
         { 0x1532, 0x010B },  /* Razer Arctosa Gaming keyboard */
+        { 0x045E, 0x0822 },  /* Microsoft Precision Mouse */
 
         /* Turns into an Android controller when enumerated... */
         { 0x0738, 0x2217 }   /* SPEEDLINK COMPETITION PRO */