[PATCH] winejoystick.drv: Initialize unhandled dwPOV to JOY_POVCENTERED

Aric Stewart aric at codeweavers.com
Wed Mar 2 11:27:52 CST 2016


This is a fix for broken applications that do not bother to check the flags
to see if JOY_RETURNPOV is set and instead blindly read dwPOV. The previous
value of 0 resulted in the POV appearing to be constantly in the UP position.

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/winejoystick.drv/joystick_osx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winejoystick.drv-Initialize-unhandled-dwPOV-to-JOY_POV.txt
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160302/d99724e2/attachment.bin>


More information about the wine-patches mailing list