From 2804f92eff4c207c4ce71e050b3d13a16b2f2d4d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 21 Jun 2024 11:37:28 +0100 Subject: [PATCH] testevdev: Add missing device ID for Wiimote Classic Controller Thanks: Jeremy Whiting Signed-off-by: Simon McVittie --- test/testevdev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testevdev.c b/test/testevdev.c index a7d507d850..5cdb9d26f6 100644 --- a/test/testevdev.c +++ b/test/testevdev.c @@ -1537,6 +1537,10 @@ static const GuessTest guess_tests[] = { .name = "Wiimote - Classic Controller", .eviocgname = "Nintendo Wii Remote Classic Controller", + .bus_type = 0x0005, + .vendor_id = 0x057e, + .product_id = 0x0306, + .version = 0x0600, /* TODO: Should this be JOYSTICK, or maybe JOYSTICK|HAS_KEYS? * It's unusual in the same ways as the Wiimote */ .expected = SDL_UDEV_DEVICE_HAS_KEYS,