Skip to content

Commit

Permalink
testevdev: Add missing device ID for Wiimote Classic Controller
Browse files Browse the repository at this point in the history
Thanks: Jeremy Whiting
Signed-off-by: Simon McVittie <smcv@collabora.com>
  • Loading branch information
smcv authored and slouken committed Jun 21, 2024
1 parent c244eb9 commit 2804f92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/testevdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2804f92

Please sign in to comment.