Yesterday i downloades wine 0.9.17 sources and I found a bug in joystick_linuxinput.c (dinput.dll.so module). It made an infinite loop when a program enumerates linuxinput devices.
I Fix it with this code. (function joydev_enum_deviceW)
------- CUT HERE -------
*** joystick_linuxinput.c 2006-07-21 19:39:19.000000000 -0300 --- joystick_linuxinput.c.new 2006-07-21 19:39:11.000000000 -0300 *************** *** 333,339 **** find_joydevs();
if (id >= have_joydevs) { < return -1; }
if (!((dwDevType == 0) || --- 333,339 ---- find_joydevs();
if (id >= have_joydevs) {
return FALSE;
}
if (!((dwDevType == 0) ||
------- CUT HERE -------
Regards Diego