http://bugs.winehq.org/show_bug.cgi?id=31546
--- Comment #8 from Riccardo c10ud.dev@gmail.com 2012-11-05 06:46:13 CST --- (In reply to comment #7)
(In reply to comment #6)
A simple workaround is ignoring the unwanted events (this is not a patch)
That's interesting, thanks for taking the time and digging up this information. I don't have a PS3 joystick, but when I find some time I'll borrow one from a friend and try to make this code more specific so that it treats these events right. Have you tried using the other driver (js) as a workaround?
Well, the js driver reacts slowly and feels sluggish but i don't know the cause.. I wish I could give a better patch for this issue but my knowledge of the internals of wine and evdev is near to nothing. I didn't debug further because building the dll requires me to fire up a VM since I'm on Ubuntu64 and it's a PITA, but i guess the (wrong) mapping is being done in alloc_device? Here I don't understand how newDevice->dev_axes_to_di[i] = idx; can be 0 for those event codes..