From 16b57d2ff109e095e0c4024070075ddd1d5f410b Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Thu, 15 Jun 2023 19:25:23 +0100
Subject: [PATCH] testevdev: Add details of another driving simulator
controller
Thanks to Ben Fradella.
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
test/testevdev.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/test/testevdev.c b/test/testevdev.c
index 344fb6dd94fb..4e8581feac2d 100644
--- a/test/testevdev.c
+++ b/test/testevdev.c
@@ -1406,6 +1406,22 @@ static const GuessTest guess_tests[] =
/* RX, RY, RZ */
.abs = { 0x38 },
},
+ { /* https://github.com/ValveSoftware/Proton/issues/5126 */
+ .name = "FANATEC ClubSport USB Handbrake",
+ .bus_type = 0x0003,
+ .vendor_id = 0x0eb7,
+ .product_id = 0x1a93,
+ .version = 0x0111,
+ /* TODO: Ideally we would identify this as a joystick, but there
+ * isn't currently enough information to do that without a table
+ * of known devices. */
+ .expected = SDL_UDEV_DEVICE_JOYSTICK,
+ .todo = "https://github.com/ValveSoftware/Proton/issues/5126",
+ /* SYN, ABS */
+ .ev = { 0x09 },
+ /* X only */
+ .abs = { 0x01 },
+ },
{
.name = "No information",
.expected = SDL_UDEV_DEVICE_UNKNOWN,