[try2] dinput: joydevs[id].name (EVIOCGNAME) is product name, joydevs[id].device is a path
Le Saturday 07 February 2009 14:16:15 Vincent Pelletier, vous avez écrit :
If not, please tell me and I will extend the patch to generate a "Joystick %i" name, or maybe put joydevs[id].name in both fields.
Same patch as first proposed on wine-devel, no reaction so I guess it's correct. -- Vincent Pelletier
2009/2/10 Vincent Pelletier <plr.vincent(a)gmail.com>:
Le Monday 09 February 2009 22:22:02 Vincent Pelletier, vous avez écrit :
Same patch as first proposed on wine-devel, no reaction so I guess it's correct.
Miss. Was to be posted on wine-patches. (I resent it there already)
Umm ... I just took a quick look. You're adding a new field to the JoyDev struct called instance_name, which if I read right will store the input device path, but what happens to the existing device field? It looks like it's just taking up space, not actually getting a value stored in it.
participants (2)
-
Ben Klein -
Vincent Pelletier