Module: wine Branch: master Commit: 19183e71d416b252721132324ee52a26b86936fb URL: http://source.winehq.org/git/wine.git/?a=commit;h=19183e71d416b252721132324e...
Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Sun Aug 5 12:22:49 2007 -0600
dinput: Fix POV calculation.
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(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=19183e71d416b252721132...