Always set DIOBJECTDATAFORMAT.pguid to GUID_Button for joystick buttons

Antonio Cuni anto.cuni at gmail.com
Thu Sep 20 10:11:51 CDT 2007


At least one game (Pro Evolution Soccer 6) rely on the pguid field of 
the DIOBJECTDATAFORMAT struct to respond to joystick button's events. 
Setting pguid to GUID_Button solves the problem.

2007-09-20  Antonio Cuni <anto.cuni at gmail.com>

	* dlls/dinput/joystick_linux.c,
           dlls/dinput/joystick_linuxinput.c
	Always set DIOBJECTDATAFORMAT.pguid to GUID_Button for
         joystick buttons



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GUID_Button.patch
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20070920/d4842b1f/attachment.txt 


More information about the wine-patches mailing list