[Bug 42631] Mouse drift, jump or don' t react to small slow movements in Unity-engine games and Fallout 4 ( partly fixed in Unity games, have walkaround in Fallout4 )

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 24 05:26:17 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=42631

Jordan Galby <gravemind2a at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gravemind2a at gmail.com

--- Comment #53 from Jordan Galby <gravemind2a at gmail.com> ---
Created attachment 62126
  --> https://bugs.winehq.org/attachment.cgi?id=62126
Fix sub pixel raw motion

I had the issue on the Witcher 3, getting slow mouse movement unregistered and
hitting seemingly random "walls".
I found it came from wine receiving "fractions"/"sub-pixel" mouse motion
(motion >0.0 but <1.0). The cause is probably my high dpi mouse that I setup
with 'libinput Accel Speed' to "-0.5" (same as xorg.conf "AccelSpeed").

I made this patch on wine-3.14: it accumulates those "sub-pixel" motion and
sends to windows when there is a "full pixels" motions (because it does not
handle fractions; movements <1.0 are truncated to 0, so ignored).

This is my first patch, so probably not perfect.

Also, this bug could be related and fixed with the patch:
https://bugs.winehq.org/show_bug.cgi?id=43794

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list