[Bug 25654] Anarchy Online 18.4.x unable to mouse-look or mouse-steer

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 1 09:28:18 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=25654

--- Comment #3 from Janne Hakonen <joyer83 at live.fi> 2011-01-01 09:28:13 CST ---
Created an attachment (id=32688)
 --> (http://bugs.winehq.org/attachment.cgi?id=32688)
modified raw input patch

Here's a patch that enables mouse look and steering. It is a modified version
from Reco's and Sergej's raw input patch for Hellgate London game
(http://bugs.winehq.org/show_bug.cgi?id=10318#c45). The original patch didn't
work very well with AO: LMB down, camera rotates the faster the further away
mouse cursor is from screen's center. Same goes for steering with RMB. This
modified patch should fix this problem.

Changes I have made are:
   * Removed screen center calculations and instead just passed relative mouse
movements values gotten from DirectInput to raw mouse input.
   * Fixed some warnings
   * Made sure that the patch applies cleanly to Wine 1.3.6.

I've only tested this with Ubuntu 10.10 / Wine 1.3.6. Maybe someone with a Mac
could test this too and see what happens :)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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