https://bugs.winehq.org/show_bug.cgi?id=43120
--- Comment #8 from Shawn Starr shawn.starr@rogers.com --- Wine 2.5 works, Wine 2.6 does not, it turns out to be this patch
commit e87ccb8b055dc846211967e46ee2f17fbabef7a1 Author: Bruno Jesus bjesus@codeweavers.com Date: Sun Apr 9 22:25:35 2017 -0300
dinput: Assume a 1-to-1 axes map when no axes match.
The wiimote is a well known problematic device, mainly because it is not a joystick. It is a USB device. But the classic controller is at least advertised as a joystick with 6 axes and 11 buttons (js driver only, NO event).
Signed-off-by: Bruno Jesus bjesus@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Test case:
Run wine control w/ commit applied to development (master) throws exception error Revert e87ccb8b055dc846211967e46ee2f17fbabef7a1 in wine development (master)
Also, if the device is disabled I am able to run wine w/ the commit still kept but only if the device being detected as a 'joystick' is disabled.
Device: Corsair M65 RGB Gaming Mouse
USB information:
[61080.734640] usb 3-5.3: Product: Corsair M65 RGB Gaming Mouse [61080.736010] input: Corsair Corsair M65 RGB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5.3/3-5.3:1.0/0003:1B1C:1B12.00D5/input/input235 [61080.736138] hid-generic 0003:1B1C:1B12.00D5: input,hidraw6: USB HID v1.11 Mouse [Corsair Corsair M65 RGB Gaming Mouse] on usb-0000:00:14.0-5.3/input0 [61080.736987] input: Corsair Corsair M65 RGB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5.3/3-5.3:1.1/0003:1B1C:1B12.00D6/input/input236 [61080.788953] hid-generic 0003:1B1C:1B12.00D6: input,hiddev96,hidraw7: USB HID v1.11 Mouse [Corsair Corsair M65 RGB Gaming Mouse] on usb-0000:00:14.0-5.3/input1