From 54be4bcb769684436c85bd5d1b6b8a39afdbbcb4 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Wed, 5 Jun 2024 23:10:00 +0200 Subject: [PATCH] winebuy.sys: Add support for Virpil Throttle MT-50 CM2 Link: https://github.com/ValveSoftware/Proton/issues/6839#issuecomment-2148791581 --- dlls/winebus.sys/unixlib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/winebus.sys/unixlib.c b/dlls/winebus.sys/unixlib.c index ffbf53b574cd..1f8ffe1f4481 100644 --- a/dlls/winebus.sys/unixlib.c +++ b/dlls/winebus.sys/unixlib.c @@ -126,6 +126,9 @@ static BOOL is_virpil_controller(WORD vid, WORD pid, INT buttons) { switch (vid) { + case 0x03eb: + if (pid == 0x2055) return TRUE; /* ATMEL/VIRPIL/200325 VPC Throttle MT-50 CM2 */ + break; case 0x3344: /* comes with 31 buttons in the default configuration, or 128 max */ if ((buttons == 31) || (buttons == 128)) return TRUE;