https://bugs.winehq.org/show_bug.cgi?id=32913
Patrick Rudolph patrick1804@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49978|0 |1 is obsolete| |
--- Comment #18 from Patrick Rudolph patrick1804@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!