https://bugs.winehq.org/show_bug.cgi?id=32913
--- Comment #16 from Patrick Rudolph patrick1804@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