[PATCH 3/4] dinput: Fix POV calculation.
Vitaliy Margolen
wine-patches at kievinfo.com
Sun Aug 5 13:22:49 CDT 2007
Combine and simplify the POV calculations. Linux provides X,Y for the POV.
While DirectInput returns dial-degrees*1000 (12 o-click is 0 degrees).
---
dlls/dinput/device_private.h | 3 +
dlls/dinput/joystick_linux.c | 126 +++++++++----------------------------
dlls/dinput/joystick_linuxinput.c | 75 ++++++++++------------
3 files changed, 67 insertions(+), 137 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c903206936a5c6bfa2e4f13deec329c11045672e.diff
Type: text/x-patch
Size: 10541 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070805/ad81431e/c903206936a5c6bfa2e4f13deec329c11045672e.bin
More information about the wine-patches
mailing list