[PATCH 4/6] winebus.sys: Stop enforcing input and IG suffix on gamepads.

Zebediah Figura (she/her) zfigura at codeweavers.com
Fri Aug 27 15:47:27 CDT 2021


On 8/27/21 3:21 PM, Rémi Bernon wrote:
> On 8/27/21 9:47 PM, Zebediah Figura (she/her) wrote:
>>>
>>> In any case I'm not completely sure how useful it is anyway.
>>>
>>
>> Probably not very, but in theory you could have a HID driver that
>> matches on a specific device interface.
>>
> 
> Indeed and it actually causes me some trouble, as the UDEV devices may
> get spurious MI_00 suffixes, while SDL devices do not.

I suspect that the way we detect the interface number is wrong :-(

(and we should probably call it "interface" or "interface_id" rather 
than "input" in general.)

> I wanted to add the list of XBox VID/PID to xinput.inf, so that we don't
> have to keep a hardcoded list in winebus, but then I'll either have to
> add both the suffixed and not, or find a way to make things consistent
> (or report both hardware ids...).

Finding a way to report the right IDs sounds like the right solution to me.



More information about the wine-devel mailing list