From 4c33ef94c6d64836321fa24269c45a2dff4106d4 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Thu, 8 Jun 2023 15:45:17 +0100
Subject: [PATCH] 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>
---
test/testevdev.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/testevdev.c b/test/testevdev.c
index 80a4f73c3ead..067db01a7ef1 100644
--- a/test/testevdev.c
+++ b/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,