[Bug 32913] Planetside 2: Mouse Jittering

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 28 11:18:19 CST 2014


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

Patrick Rudolph <patrick1804 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49978|0                           |1
        is obsolete|                            |

--- Comment #18 from Patrick Rudolph <patrick1804 at web.de> ---
Created attachment 50096
  --> https://bugs.winehq.org/attachment.cgi?id=50096
fix mouse jitter in Planetside 2 and other games that uses WM_INPUT

This patch fixes the mouse jitter in Planetside 2 and other games that uses
WM_INPUT and GetRawInputData for relative mouse movement.
This patch is less intrusive as the first one and should not break any apps.
It drops XINPUT MotionNotify events as long as XINPUT2 RawMotion events are
generated. It also doesn't drop RawMotion events after the cursor has been
warped to another position. This prevents race conditions, where all of the
RawMotion events are dropped between SetCursor calls. Rawmotion events are
generated whenever a fullscreen application grabs the mouse. Running games in
Virtual Desktop mode results in XINPUT2 *NOT* beeing used at all, as a result
there still will be mouse jitter!

-- 
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