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 <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2023-06-08 15:45:17 +01:00 committed by Sam Lantinga
parent 4c035dc1e3
commit 4c33ef94c6
1 changed files with 4 additions and 0 deletions

View File

@ -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,