[Bug 32913] Planetside 2: Mouse Jittering

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 14 13:26:19 CST 2014


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

--- Comment #16 from Patrick Rudolph <patrick1804 at web.de> ---
Created attachment 49978
  --> https://bugs.winehq.org/attachment.cgi?id=49978
hack to use Xinput2 data only for relative mouse movement

This patch fixes the mouse jittering in Planetside 2. However you have to use
Xinput2 ! XInput2 is disabled in virtual desktop mode! It is enabled whenever a
fullscreen window requests exclusive mouse access. Click once to enable mouse
movements,
This patch might break other apps !

Brief problem description:
* XInput2 is only enable under special circumstandes.
* XInput isn't very accurate (It notices sub-pixel mouse movement, but reports
only pixel coordinates)
* Even with XInput2 enabled it might drop events because they are from a
different "serial"
* XInput and XInput2 events are both sent to the same low level message
function which expects pixel coordinates but XInput2 reports relative sub pixel
movement

* Planetside2 expectes "unproccessed" sub pixel coordinates like the ones
reported from XInput2

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