Implementing joystick ids in DirectInput
Vitaliy Margolen
wine-devel at kievinfo.com
Mon May 28 20:35:22 CDT 2012
On 05/28/2012 12:53 PM, Lucas Zawacki wrote:
> The solution I came up is in the attached patch, it's a little weird
It's not just weird it's incorrect. You shouldn't use that list or rely on
order of devices in that list.
Instead you should use get_joystick_index() to get the index. It's not
exactly clear where this ID is used so I doubt returning the same ID for
different drivers will change anything
Vitaliy.
More information about the wine-devel
mailing list