Open HaraldKorneliussen opened 14 years ago
Confirmed but unfortunately it has nothing to do with libcwiid nor wminput. I just experimented a bit, and it seems that it's a bug in Xorg. I was able to reproduce the crash without any dependency to cwiid whatsoever.
Steps to reproduce:
If any AT key is enabled, the device is handled as a keyboard.
If a relative axis was enabled, crashing can be avoided by registering one standard mouse button (BTN_MOUSE for example). It seems, that whenever a device has two relative axes and at least one mouse button, it is handled as mouse. However, I have no idea why this affects the crash behavior. It is quite odd that just enabling some capabilities causes the device to become a crash cannon..
There is something really wrong in Xorg's capability checking.. this should be reported to Xorg.
Big thanks for confirming this and tracking it down! I'm not sure I do the workaround correctly, though. I change Classic.Home to BTNMOUSE, and remove the ones with KEY prefixes, but I can still crash it - whether the axes are set to relative or not.
Hi,
Great to see this project is maintained again, I pulled the latest version to see if a certain bug was fixed, sadly it wasn't.
What I do is this:
What I really wanted to do was make one of the analog sticks work as a mouse, but I couldn't get it to register anything at all. The moment I change anything in the config file, this happens.