testevdev: Add details of another driving simulator controller

Thanks to Ben Fradella.

Signed-off-by: Simon McVittie <smcv@collabora.com>
main
Simon McVittie 2023-06-15 19:25:23 +01:00 committed by Sam Lantinga
parent 2b00751206
commit 16b57d2ff1
1 changed files with 16 additions and 0 deletions

View File

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