dinput: Fix POV calculation.
authorVitaliy Margolen <wine-patches@kievinfo.com>
Sun, 5 Aug 2007 18:22:49 +0000 (12:22 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 6 Aug 2007 12:02:26 +0000 (14:02 +0200)
commit19183e71d416b252721132324ee52a26b86936fb
treeab6bf6afa5197192b6beecd07303177cec36c7f5
parent1fdc0230f0f7a33b10ec7ac481fc98780d190c03
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
dlls/dinput/joystick_linux.c
dlls/dinput/joystick_linuxinput.c