http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #204 from Mariusz magmp1@gmail.com 2009-01-06 05:37:21 --- (In reply to comment #201)
I included a modified version (option to enable it) of attachment 15638 [details] which is based on attachment 11303 [details] in the hacks repo. It is similar to attachment 12943 [details] and attachement 13101 (it uses 30px instead of 2; is this useful?). A similar patch is also included in attachment 17157 [details] and attachment 17342 [details] . So that means the only patches it's not related to are attachment 13153 [details] and Vitaliy Margolen his patches.
http://repo.or.cz/w/wine/hacks.git?a=commitdiff;h=refs/patches/master/dinput...
The 30px instead of 2 is there because in Gothic 3 mouse still goes out of edge on right side which causes character to spin. I have tested (played whole game) and with resolution 1024x768 it seems to do the work perfectly. Problem is only that this is just workaround. It looks like the screen it self is moved to bottom right compare with actual (visible) screen and that why mouse is in wrong position. You can notice this sometimes when game crashes or loads.