Browse Source

testevdev: Note a functionally-equivalent device

We don't need to re-test the heuristic with the same input data, but
knowing that another device has equivalent evdev metadata is useful
information to record. Thanks to Jeremy Whiting.

Signed-off-by: Simon McVittie <[email protected]>
Simon McVittie 2 years ago
parent
commit
4c33ef94c6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      test/testevdev.c

+ 4 - 0
test/testevdev.c

@@ -326,6 +326,10 @@ static const GuessTest guess_tests[] =
     },
     {
       .name = "Guitar Hero for PS3",
+      /* SWITCH CO.,LTD. Controller (Dinput) off-brand N64-style USB controller
+       * 0003:2563:0575 v0111 is functionally equivalent.
+       * https://linux-hardware.org/?id=usb:2563-0575 reports the same IDs as
+       * ShenZhen ShanWan Technology ZD-V+ Wired Gaming Controller */
       .bus_type = 0x0003,
       .vendor_id = 0x12ba,
       .product_id = 0x0100,