Derek Lesho dereklesho52@gmail.com wrote:
Hello, attached is a patch that adds true raw-input support for mouse movements, bypassing the desktop's sensitivity and mouse acceleration settings.
Your patchset was included in the lutris-4.12.1 build of Wine, and presumably responsible for the two changes I noticed immediately:
1. Bug 47457 (gun jam in Overwatch) seems to be fixed. Nice!
2. Xmodmap button mappings are ignored, so my mouse clicks in Overwatch now produce results that are both unexpected and inconsistent with every other program on my desktop*. Is there a way to selectively disable your raw input feature, or another way to remap buttons, for programs that need consistency with the rest of the desktop more than they need true raw input?
*My personal use case: The Logitech G600 programmable mouse (oddly) doesn't allow its middle button to be programmed as middle click. I therefore program the middle button to right click, the right button to middle click, and use Xmodmap to swap them, thereby getting sane behavior. I expect other people use Xmodmap button mappings for other reasons, so the issue here is probably a general one that out to have a solution.
Try updating to the latest version of the patch. Remi's patch may have fixed your issue.
On Fri, 2 Aug 2019, 19:13 Forest, forestcode@ixio.org wrote:
Derek Lesho dereklesho52@gmail.com wrote:
Hello, attached is a patch that adds true raw-input support for mouse movements, bypassing the desktop's sensitivity and mouse acceleration settings.
Your patchset was included in the lutris-4.12.1 build of Wine, and presumably responsible for the two changes I noticed immediately:
Bug 47457 (gun jam in Overwatch) seems to be fixed. Nice!
Xmodmap button mappings are ignored, so my mouse clicks in Overwatch now
produce results that are both unexpected and inconsistent with every other program on my desktop*. Is there a way to selectively disable your raw input feature, or another way to remap buttons, for programs that need consistency with the rest of the desktop more than they need true raw input?
*My personal use case: The Logitech G600 programmable mouse (oddly) doesn't allow its middle button to be programmed as middle click. I therefore program the middle button to right click, the right button to middle click, and use Xmodmap to swap them, thereby getting sane behavior. I expect other people use Xmodmap button mappings for other reasons, so the issue here is probably a general one that out to have a solution.
On Fri, 2 Aug 2019 19:17:34 -0400, Derek Lesho wrote:
- Xmodmap button mappings are ignored, so my mouse clicks in Overwatch now
produce results that are both unexpected and inconsistent with every other program on my desktop*. Is there a way to selectively disable your raw input feature, or another way to remap buttons, for programs that need consistency with the rest of the desktop more than they need true raw input?
[snip]
Try updating to the latest version of the patch. Remi's patch may have fixed your issue.
I'm not sure what patch you mean, but I get the same behavior with a build from just a few days ago, which includes v10 of your raw input patches: https://github.com/lutris/wine/commit/278bb42a93a418f9cc75b10fe9f56b7f07c0a1... https://github.com/lutris/wine/commits/lutris-4.13
A quick way to reproduce the discrepancy: xmodmap -e "pointer = 1 3 2" ...and then compare right & middle click behavior on the desktop with that in a raw input application. (I used Overwatch, but there must be others.)
I probably won't track this issue any longer, since I found a way to reprogram my mouse, and therefore no longer need xmodmap. Other people still use xmodmap, though, so it might be worth considering workarounds for them before this patch gets mainlined.