On 9/20/07, Antonio Cuni anto.cuni@gmail.com wrote:
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@gmail.com
* dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c Always set DIOBJECTDATAFORMAT.pguid to GUID_Button for joystick buttons
df->rgodf[idx].pguid = &GUID_Button; // some games require the GUID to be > +
df->rgodf[idx].pguid = &GUID_Button; // some games require the GUID to be GUID_Button
You need to use C style comments /* */
Regards =), --John Klehm